Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: hot reload didn't work property #61

Merged
merged 3 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# NEXT

- fix: hot reload doesn't work on macOS

# 0.11.0

- feat: set scroll position to currently active slide on navigation drawer open
Expand Down
3 changes: 2 additions & 1 deletion lib/src/flutter_deck_router.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:flutter/widgets.dart';
import 'package:flutter_deck/src/configuration/configuration.dart';
import 'package:flutter_deck/src/flutter_deck_slide.dart';
import 'package:go_router/go_router.dart';
Expand Down Expand Up @@ -63,7 +64,7 @@ class FlutterDeckRouter {
key: state.pageKey,
restorationId: state.pageKey.value,
transitionsBuilder: slide.configuration.transition.build,
child: slide.widget.build(context),
child: Builder(builder: slide.widget.build),
),
),
],
Expand Down
2 changes: 0 additions & 2 deletions lib/src/widgets/flutter_deck_footer.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import 'dart:ui';

import 'package:flutter/material.dart';
import 'package:flutter_deck/src/configuration/configuration.dart';
import 'package:flutter_deck/src/flutter_deck.dart';
Expand Down
Loading