Results for “Navigator.pop”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
Guides
- Navigate to a new screen and backdoc
Navigate to the second route using Navigator.push() . Return to the first route using Navigator.pop() . 1. Create two routes First, create two routes to work with. Since this
- Navigate with named routesdoc
Navigate to the second screen using Navigator.pushNamed() . Return to the first screen using Navigator.pop() . 1. Create two screens First, create two screens to work with. The first
- Return data from a screendoc
that it can act on that information. You can do this with the Navigator.pop() method using the following steps: Define the home screen Add a button that
- Animate a widget across screensdoc
How to animate a widget from one screen to another It's
- Stack-based navigationdoc
Learn how to navigate from one page to another in a Flutter
API reference
- widgets.RoutePredicatetypedef
Signature for the Navigator.popUntil predicate argument. widgets.RoutePredicate RoutePredicate Route Predicate typedef widgets
- widgets.WillPopCallbacktypedef
Signature for a callback that verifies that it's OK to call Navigator.pop. widgets.WillPopCallback WillPopCallback Will Pop Callback typedef widgets
Version changes
- Add `Navigator.popUntilWithResult`3.41.0new-feature
Navigator.popUntilWithResult` (Framework, by @alex-medinsh). Navigator.popUntilWithResult
- The Route and Navigator refactoring1.17.0breaking
insertionPoint` parameter. The `isInitialRoute` property in `RouteSetting` has been deprecated, and `Navigator.pop()` no longer returns a value. The boolean return value of `Navigator.pop()` was not well
- Improve error message for type mismatch in Navigator.pop and maybePop.3.47.0improvement
Improve error message for type mismatch in Navigator.pop and maybePop. (Framework, by @puneetkukreja98