Results for “ModalRoute”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
Guides
- Pass arguments to a named routedoc
using the arguments parameter of the Navigator.pushNamed() method. Extract the arguments using the ModalRoute.of() method or inside an onGenerateRoute() function provided to the MaterialApp or CupertinoApp constructor. This
- Send data to a new screendoc
How to pass data to a new route. Often, you not only
API reference
- ModalRouteclass
route that blocks interaction with previous routes. widgets.ModalRoute ModalRoute Modal Route class widgets
- ModalRoute.newconstructor
Creates a route that blocks interaction with previous routes. widgets.ModalRoute.ModalRoute.new ModalRoute new Modal Route.new constructor widgets
- WillPopScopeclass
Registers a callback to veto attempts by the user to dismiss the enclosing ModalRoute. widgets.WillPopScope WillPopScope Will Pop Scope class widgets
- PopScope.newconstructor
registers a callback to veto attempts by the user to dismiss the enclosing ModalRoute. widgets.PopScope.PopScope.new PopScope new Pop Scope.new constructor widgets
- WillPopScope.newconstructor
registers a callback to veto attempts by the user to dismiss the enclosing ModalRoute. widgets.WillPopScope.WillPopScope.new WillPopScope new Will Pop Scope.new constructor widgets
Version changes
- 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
- Add framework-side hitTestBehavior support for Semantics widget and apply to ModalRoute3.41.0new-feature
framework-side hitTestBehavior support for Semantics widget and apply to ModalRoute (Material, by @flutter-zl). ModalRoute
- Semantics Order of the Overlay Entries in Modal Routes1.20.0breaking
We changed the semantics traverse order of the overlay entries in modal