Skip to content

Commit

Permalink
Merge pull request #35 from ronnnnn/feat-support-flutter-3.16
Browse files Browse the repository at this point in the history
Thanks!
  • Loading branch information
wasabeef authored Nov 16, 2023
2 parents b024203 + a56254c commit 7b01b4f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
- name: Get dependencies
run: |
dart pub global activate melos
melos run pub:get
melos get
- name: Run tests for our dart project.
run: |
melos run unit:test
melos test
- name: Check for any formatting and statically analyze the code.
run: |
melos run format
melos run analyze
melos format
melos analyze
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dart 3.0.6
flutter 3.10.6-stable
dart 3.2.0
flutter 3.16.0-stable
2 changes: 1 addition & 1 deletion lib/flutter_hooks_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class _HookTestingAction<T, P> {
Future<void> _build(Widget widget) async {
final binding = TestWidgetsFlutterBinding.ensureInitialized();
return TestAsyncUtils.guard<void>(() {
binding.attachRootWidget(widget);
binding.attachRootWidget(binding.wrapWithDefaultView(widget));
binding.scheduleFrame();
return binding.pump();
});
Expand Down
2 changes: 1 addition & 1 deletion melos.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: flutter_use

packages:
- '**'
- .
- example/**

ide:
Expand Down

0 comments on commit 7b01b4f

Please sign in to comment.