diff --git a/coffee_maker_navigator_2/widgetbook/lib/main.dart b/coffee_maker_navigator_2/widgetbook/lib/main.dart index 4ccee6fe..024e5865 100644 --- a/coffee_maker_navigator_2/widgetbook/lib/main.dart +++ b/coffee_maker_navigator_2/widgetbook/lib/main.dart @@ -67,7 +67,6 @@ class SingleChildRouterDelegate extends RouterDelegate Widget build(BuildContext context) { return Navigator( key: globalNavKey, - onDidRemovePage: (page) {}, pages: [ MaterialPage( child: child, diff --git a/coffee_maker_navigator_2/widgetbook/pubspec.yaml b/coffee_maker_navigator_2/widgetbook/pubspec.yaml index f1c044bd..719d1aa7 100644 --- a/coffee_maker_navigator_2/widgetbook/pubspec.yaml +++ b/coffee_maker_navigator_2/widgetbook/pubspec.yaml @@ -4,7 +4,8 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.5.4 + sdk: '>=3.0.6 <4.0.0' + flutter: ">=3.16.0" dependencies: flutter: @@ -25,7 +26,7 @@ dev_dependencies: sdk: flutter flutter_lints: ^4.0.0 widgetbook_generator: ^3.9.0 - build_runner: ^2.4.13 + build_runner: # Omit explicit version so it resolves to the supported version flutter: uses-material-design: true diff --git a/melos.yaml b/melos.yaml index bf2a2bcf..0248441a 100644 --- a/melos.yaml +++ b/melos.yaml @@ -4,7 +4,8 @@ repository: https://github.com/woltapp/wolt_modal_sheet packages: - . ## This is the root package - coffee_maker - - coffee_maker_navigator_2/** + - coffee_maker_navigator_2 + - coffee_maker_navigator_2/widgetbook - demo_ui_components - playground - playground_navigator2