Skip to content

v0.5.0

Latest
Compare
Choose a tag to compare
@alestiago alestiago released this 22 Nov 12:15
· 2 commits to main since this release
827a911
  • chore(deps): bump very_good_analysis from 4.0.0+1 to 5.1.0 (#56)
  • chore: update Very Good Analysis to 5.1.0 (#57)
  • chore: updated sdk constraints for example (#60)
  • docs: update installation instructions readme (#61)
  • fix!: Updates for Flutter 3.16.0/Dart 3.2 (#65)

Migration details

This breaking change now requires users to mock the canPop method since it is being used internally by Flutter 3.16.0 (see flutter/flutter#132249).

final navigator = MockNavigator();
when(navigator.canPop).thenReturn(true); // New, previously not always required.

In addition, if you were verifying the canPop calls you should now expect an additional call.

verify(() => navigator.canPop()).called(1); // New, previously not always required.
await tester.tap(find.byType(TextButton));
verify(() => navigator.canPop()).called(1)