Skip to content

Commit

Permalink
Merge pull request #61 from tomcheung/fix/hot-reload-issue
Browse files Browse the repository at this point in the history
fix: hot reload didn't work property
  • Loading branch information
mkobuolys authored Feb 23, 2024
2 parents e68f538 + 613e6ae commit 3990345
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
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

0 comments on commit 3990345

Please sign in to comment.