NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #1712 most downloaded on pub.dev
A package that makes it easy to mock, test and verify navigation calls in Flutter.
Last release 10 months ago
02 Dec 2025
Release timing varies
gaps range from 2 weeks to 1.4 years
Nearly every release is documented
notes for 10 of 10 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
14 releases · first in 2021
chore: remove Flutter upper bound
chore: remove Flutter upper bound (#112)
One column per quarter.
chore!: upgrade to flutter 3.32.0
Flutter 3.32.0 changed the signature of Navigator.removeRouteBelow which caused a compile time error flutter/flutter#157725.
// Before:
when(() => navigator.removeRouteBelow(any())).thenAnswer((_) {});
// After:
when(
() => navigator.removeRouteBelow<Object?>(any(), any()),
).thenAnswer((_) {});Note: This release supports Flutter 3.32.0, for migration details see the release notes.
chore!: remove deprecated parameter
removeRouteBelow method (#90)The isRoute matcher named parameter has reached its full deprecation cycle, use whereName instead:
// Before:
isRoute(named: 'name');
// After:
isRoute(whereName: 'name');Note: This release supports Flutter 3.29.0. Contains a breaking change, where the isRoute named parameter has reached the full deprecation cycle.
removeRouteBelow method (#90)chore: sync min Dart SDK with min Flutter SDK
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 ).
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)Note: This release supports Flutter 3.16.0, for migration details see the release notes.
feat: support for mocktail ^1.0.0
mocktail ^1.0.0flutter 3.13.0feat: support for mocktail ^0.3.0
mocktail ^0.3.0feat: support for mocktail ^0.3.0
mocktail ^0.3.0DEPRECATE : fix: named argument on isRoute deprecated in favor of whereName
canPop (thanks @allisonryan0002!)maybePop (thanks @korzonkiee!)whereSettings, whereName, whereArguments, whereMaintainState and whereFullscreenDialog matcher arguments to isRoute matchernamed argument on isRoute deprecated in favor of whereNamefeat: add mock call for canPop (thanks @allisonryan0002!)
canPop (thanks @allisonryan0002!)feat: add mock call for maybePop (thanks @korzonkiee !)
maybePop (thanks @korzonkiee!)DEPRECATE: fix: named argument on isRoute deprecated in favor of whereName
whereSettings, whereName, whereArguments, whereMaintainState and whereFullscreenDialog matcher arguments to isRoute matchernamed argument on isRoute deprecated in favor of whereNamerefactor: reorder mock navigator provider parameters (#14, thanks @JigneshPatel23)
- feat: initial release 🎉
Your coding agent can read these notes before it upgrades. Set up the MCP server →