cupertino_will_pop_scope 1.2.1
cupertino_will_pop_scope: ^1.2.1 copied to clipboard
Enables 'onWillPop' callbacks on Cupertino page transitions and improves visual feedback of rejected "Swipe to go back" gestures.
1.2.1 #
- Merged with latest version of Flutter's
cupertino_page_route.dart.
1.2.0 #
- [BREAKING] Renamed
ConditionalWillPopScope'sshouldAddCallbackstoshouldAddCallback. - Changed all properties of
ConditionalWillPopScopeto be required. - Changed the logic for dismissing the swipe back gesture on iOS to use the "drag cancelled" handler, instead of the "darg ended" handler.
1.1.0 #
- Updated with latest version of Flutter's
route.dartfile. - Update sample app to use
ElevatedButtoninstead of the deprecatedRaisedButtonwidget. - Changed
ConditionalWillPopScope.onWillPopto be optional. - Migrated to Null Safety.
1.0.4 #
- Fixed documentation.
1.0.3 #
- Fixed formatting.
1.0.2 #
- Fixed Flutter's own asserts, which fail Pub.dev's static analysis.
- Updated the package description.
1.0.1 #
- Introduced a new
ConditionalWillPopScopewidget which makes it possible to addwillPopcallbacks conditionally. - Added a small time delay before calling the route's
willPopcallbacks, to accomodate for the screen's "rewind" animation. - Increased the distance a screen is allowed to be dragged before the gesture is terminated. (From 33% to 42%.)
- Updated the example app and docs.
1.0.0 #
- Initial release.