Results for “Navigation and routing”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- Fix: Use route navigator for CupertinoSheetRoute pop3.38.0bugfix
route navigator for CupertinoSheetRoute pop (Framework, by @rkishan516). CupertinoSheetRoute
- The Route and Navigator refactoring1.17.0breaking
least one route after pop'); else print('Oops! No more routes.'); // Our navigator pops the route anyway. Navigator.pop(context); } ) ``` Case 2: An app generates
- More Strict Assertions in the Navigator and the Hero Controller Scope1.20.0breaking
under the same // hero controller scope created by MaterialApp. return Stack( children: [ Navigator( onGenerateRoute: (RouteSettings settings) { return MaterialPageRoute ( settings: settings, builder: (BuildContext context) { return const Text('first
- The Route Transition record and Transition delegate updates1.20.0breaking
popping animation to finish, this route would sit in the navigator routes stack until the animation was done. If a page update occurred during this
- Deprecate RouteTransitionRecord.markForRemove3.32.0deprecated
required. The navigator continues to work as expected with new capabilities. RouteTransitionRecord Navigator
- Deprecated just-in-time navigation pop APIs for Android Predictive Back3.16.0deprecated
To support Android 14's Predictive Back feature, a set of ahead
- Rebuild optimization for OverlayEntries and Routes1.17.0breaking
This optimization improves performance for route transitions, but it may uncover
- Navigator's page APIs breaking change3.24.0breaking
List<Page > pages = <Page >[page1, page2, page3]; runApp( MaterialApp( home: Navigator( pages: pages, onPopPage: (Route<Object?> route, Object? result) { if (route.settings == page2) { return false
- The default page transition on Android is now PredictiveBackPageTransitionBuilder3.38.0breaking
gesture allows the user to peek at the previous route or app and possibly cancel the navigation. Flutter added support for this with the `PopScope` widget