Results for “Navigator”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
Guides
- Navigation and routingdoc
Overview of Flutter's navigation and routing features Flutter provides a complete system for navigating between screens and handling deep links. Small applications without complex deep
- Stack-based navigationdoc
another in a Flutter app. Learn to navigate between screens with Navigator.push and implement adaptive navigation patterns for different screen sizes. Introduction Now that you understand
- Navigate to a new screen and backdoc
using these steps: Create two routes. Navigate to the second route using Navigator.push() . Return to the first route using Navigator.pop() . 1. Create two routes First, create
- Navigate with named routesdoc
named route for navigation. To work with named routes, use the Navigator.pushNamed() function. This example replicates the functionality from the original recipe, demonstrating how to use named
- Send data to a new screendoc
pass data to a new route. Often, you not only want to navigate to a new screen, but also pass data to the screen as well
API reference
- Navigatorclass
widget that manages a set of child widgets with a stack discipline. widgets.Navigator Navigator Navigator class widgets
- NavigatorStateclass
state for a Navigator widget. widgets.NavigatorState NavigatorState Navigator State class widgets
- NavigatorObserverclass
interface for observing the behavior of a Navigator. widgets.NavigatorObserver NavigatorObserver Navigator Observer class widgets
- NavigatorPopHandlerclass
Enables the handling of system back gestures. widgets.NavigatorPopHandler NavigatorPopHandler Navigator Pop Handler class widgets
- NavigatorPopHandler.newconstructor
Creates an instance of NavigatorPopHandler. widgets.NavigatorPopHandler.NavigatorPopHandler.new NavigatorPopHandler new Navigator Pop Handler.new constructor widgets
- NavigatorObserver.newconstructor
widgets.NavigatorObserver.NavigatorObserver.new NavigatorObserver new Navigator Observer.new constructor widgets
- NavigatorState.newconstructor
widgets.NavigatorState.NavigatorState.new NavigatorState new Navigator State.new constructor widgets
- NavigationIndicatorclass
Selection Indicator for the Material 3 NavigationBar and NavigationRail components. material.NavigationIndicator NavigationIndicator Navigation Indicator class material
- NavigationBarThemeclass
inherited widget that defines visual properties for NavigationBars and NavigationDestinations in this widget's subtree. material.NavigationBarTheme NavigationBarTheme Navigation Bar Theme class material
- NavigationRailThemeclass
inherited widget that defines visual properties for NavigationRails and NavigationRailDestinations in this widget's subtree. material.NavigationRailTheme NavigationRailTheme Navigation Rail Theme class material
- NavigationDrawerThemeclass
inherited widget that defines visual properties for NavigationDrawers and NavigationDestinations in this widget's subtree. material.NavigationDrawerTheme NavigationDrawerTheme Navigation Drawer Theme class material
- Navigator.newconstructor
that maintains a stack-based history of child widgets. widgets.Navigator.Navigator.new Navigator new Navigator.new constructor widgets
- NavigationDestinationclass
Material 3 NavigationBar destination. material.NavigationDestination NavigationDestination Navigation Destination class material
- NavigationDrawerDestinationclass
Material Design NavigationDrawer destination. material.NavigationDrawerDestination NavigationDrawerDestination Navigation Drawer Destination class material
- NavigationBarclass
Material 3 Navigation Bar component. material.NavigationBar NavigationBar Navigation Bar class material
- NavigationDrawerclass
Material Design Navigation Drawer component. material.NavigationDrawer NavigationDrawer Navigation Drawer class material
- NavigationNotificationclass
notification that a change in navigation has taken place. widgets.NavigationNotification NavigationNotification Navigation Notification class widgets
- NavigationToolbarclass
NavigationToolbar is a layout helper to position 3 widgets or groups of widgets along a horizontal axis that's sensible for an application's navigation bar such
- NavigationRailDestinationclass
Defines a NavigationRail button that represents one "destination" view. material.NavigationRailDestination NavigationRailDestination Navigation Rail Destination class material
- NavigationRailThemeDataclass
Defines default property values for descendant NavigationRail widgets. material.NavigationRailThemeData NavigationRailThemeData Navigation Rail Theme Data class material
- NavigationDrawerThemeDataclass
Defines default property values for descendant NavigationDrawer widgets. material.NavigationDrawerThemeData NavigationDrawerThemeData Navigation Drawer Theme Data class material
- NavigationBarThemeDataclass
Defines default property values for descendant NavigationBar widgets. material.NavigationBarThemeData NavigationBarThemeData Navigation Bar Theme Data class material
- NavigationDrawerTheme.newconstructor
Creates a navigation rail theme that controls the NavigationDrawerThemeData properties for a NavigationDrawer. material.NavigationDrawerTheme.NavigationDrawerTheme.new NavigationDrawerTheme new Navigation Drawer Theme.new constructor material
- NavigationBarTheme.newconstructor
Creates a navigation rail theme that controls the NavigationBarThemeData properties for a NavigationBar. material.NavigationBarTheme.NavigationBarTheme.new NavigationBarTheme new Navigation Bar Theme.new constructor material
- NavigationRailTheme.newconstructor
Creates a navigation rail theme that controls the NavigationRailThemeData properties for a NavigationRail. material.NavigationRailTheme.NavigationRailTheme.new NavigationRailTheme new Navigation Rail Theme.new constructor material
- NavigationRailclass
between a small number of views, typically between three and five. material.NavigationRail NavigationRail Navigation Rail class material
- NavigationDestination.newconstructor
destination with an icon and a label, to be used in the NavigationBar.destinations. material.NavigationDestination.NavigationDestination.new NavigationDestination new Navigation Destination.new constructor material
- NavigationRail.newconstructor
Creates a Material Design navigation rail. material.NavigationRail.NavigationRail.new NavigationRail new Navigation Rail.new constructor material
- NavigationRailDestination.newconstructor
Creates a destination that is used with NavigationRail.destinations. material.NavigationRailDestination.NavigationRailDestination.new NavigationRailDestination new Navigation Rail Destination.new constructor material
- NavigationDrawerDestination.newconstructor
Creates a navigation drawer destination. material.NavigationDrawerDestination.NavigationDrawerDestination.new NavigationDrawerDestination new Navigation Drawer Destination.new constructor material
- NavigationNotification.newconstructor
Creates a notification that some change in navigation has happened. widgets.NavigationNotification.NavigationNotification.new NavigationNotification new Navigation Notification.new constructor widgets
- NavigationBar.newconstructor
Creates a Material 3 Navigation Bar component. material.NavigationBar.NavigationBar.new NavigationBar new Navigation Bar.new constructor material
- NavigationDrawer.newconstructor
Creates a Material Design Navigation Drawer component. material.NavigationDrawer.NavigationDrawer.new NavigationDrawer new Navigation Drawer.new constructor material
- NavigationBarThemeData.newconstructor
Creates a theme that can be used for ThemeData.navigationBarTheme and NavigationBarTheme. material.NavigationBarThemeData.NavigationBarThemeData.new NavigationBarThemeData new Navigation Bar Theme Data.new constructor material
- NavigationDrawerThemeData.newconstructor
Creates a theme that can be used for ThemeData.navigationDrawerTheme and NavigationDrawerTheme. material.NavigationDrawerThemeData.NavigationDrawerThemeData.new NavigationDrawerThemeData new Navigation Drawer Theme Data.new constructor material
- NavigationIndicator.newconstructor
stack behind the icon of a navigation bar destination. material.NavigationIndicator.NavigationIndicator.new NavigationIndicator new Navigation Indicator.new constructor material
- NavigationRailThemeData.newconstructor
Creates a theme that can be used for ThemeData.navigationRailTheme. material.NavigationRailThemeData.NavigationRailThemeData.new NavigationRailThemeData new Navigation Rail Theme Data.new constructor material
- NavigationToolbar.newconstructor
that lays out its children in a manner suitable for a toolbar. widgets.NavigationToolbar.NavigationToolbar.new NavigationToolbar new Navigation Toolbar.new constructor widgets
Version changes
- 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 defined
- More Strict Assertions in the Navigator and the Hero Controller Scope1.20.0breaking
framework throws an assertion error when it detects there are multiple navigators registered with one hero controller scope. If the code starts throwing assertion errors after this
- Navigator's page APIs breaking change3.24.0breaking
Navigator` page APIs are refactored so that they can integrate with Flutter's other pop mechanisms. The `onDidRemovePage` property replaces the `onPopPage` property. You can no longer
- - Fixes "active" indicator for `NavigationBar` and `NavigationDrawer`3.32.3bugfix
Fixes "active" indicator for `NavigationBar` and `NavigationDrawer
- Deprecated just-in-time navigation pop APIs for Android Predictive Back3.16.0deprecated
time APIs have replaced just-in-time navigation APIs, like `WillPopScope` and `Navigator.willPop`. ### Migrating from `WillPopScope` to `PopScope` The direct replacement of the `WillPopScope` widget
- NavigatorPopScope examples no longer use deprecated onPop.3.38.0deprecated
NavigatorPopScope examples no longer use deprecated onPop. (Framework, by @justinmc). NavigatorPopScope
- - Regression in `Navigator.pushAndRemoveUntil`1.17.1bugfix
Regression in `Navigator.pushAndRemoveUntil
- - Fixes the position of `SearchAnchor` when used in a nested navigator.3.10.3bugfix
Fixes the position of `SearchAnchor` when used in a nested navigator
- - Material 3 Navigation Drawer does not support scrolling or safe areas3.7.1bugfix
Material 3 Navigation Drawer does not support scrolling or safe areas
- Add `Navigator.popUntilWithResult`3.41.0new-feature
Navigator.popUntilWithResult` (Framework, by @alex-medinsh). Navigator.popUntilWithResult
- Add mainAxisAlignment to NavigationRail3.44.0new-feature
mainAxisAlignment to NavigationRail (Material, by @mbcorona). NavigationRail
- - Add ability to customize NavigationBar indicator overlay and fixes a bug with the indicator shape.3.16.3bugfix
ability to customize NavigationBar indicator overlay and fixes a bug with the indicator shape
- - Ink ripple is rendered incorrectly inside of the `NavigationBar` widget when using Material 3.3.7.2bugfix
ripple is rendered incorrectly inside of the `NavigationBar` widget when using Material
- - [Web] Accessibility focus border doesn’t follow when navigating through interactive elements with tab key2.2.1bugfix
Accessibility focus border doesn’t follow when navigating through interactive elements with
- Broken link in NavigationRail documentation3.38.0bugfix
Broken link in NavigationRail documentation (Material, by @srivats22). NavigationRail
- Fix NavigatorBar lacks visual feedback3.38.0bugfix
NavigatorBar lacks visual feedback (Material, by @bleroux). NavigatorBar