Results for “Route”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
- Navigation and routing3.47.7navigation
that push returned. For URL-driven apps and deep links, switch to the Router API through a package such as go_router instead of named routes
- Animations3.47.7animation
shared-element transition: two Hero widgets with the same tag on two routes, and Navigator push/pop flies the widget between them in an overlay. An implicit animation
Guides
- Navigation and routingdoc
while apps with specific deep linking and navigation requirements should also use the Router to correctly handle deep links on Android and iOS, and to stay in sync
- Hero animationsdoc
How to animate a widget to fly between two screens. The hero
- Navigate to a new screen and backdoc
navigate between routes. Most apps contain several screens for displaying different types of information. For example, an app might have a screen that displays products. When
- Pass arguments to a named routedoc
pass arguments to a named route. The Navigator provides the ability to navigate to a named route from any part of an app using a common
- Navigate with named routesdoc
implement named routes for navigating between screens. applications. For more information, see [Limitations][] in the navigation overview page. In the Navigate to a new screen and back
- Deep linkingdoc
(either with the routes parameter or onGenerateRoute ), or by using the Router widget. applications. For more information, see [Limitations][] in the navigation overview page
- Animate a page route transitiondoc
another. A design language, such as Material, defines standard behaviors when transitioning between routes (or screens). Sometimes, though, a custom transition between screens can make
API reference
- Routeclass
abstraction for an entry managed by a Navigator. widgets.Route Route Route class widgets
- RouteInformationProviderclass
route information provider that provides route information for the Router widget widgets.RouteInformationProvider RouteInformationProvider Route Information Provider class widgets
- RouteObserverclass
Navigator observer that notifies RouteAwares of changes to the state of their Route. widgets.RouteObserver RouteObserver Route Observer class widgets
- RouteInformationParserclass
delegate that is used by the Router widget to parse a route information into a configuration of type T. widgets.RouteInformationParser RouteInformationParser Route Information Parser class widgets
- RouteInformationclass
piece of routing information. widgets.RouteInformation RouteInformation Route Information class widgets
- RouteTransitionRecordclass
decide how its underlying Route should transition on or off screen. widgets.RouteTransitionRecord RouteTransitionRecord Route Transition Record class widgets
- RouterConfigclass
convenient bundle to configure a Router widget. widgets.RouterConfig RouterConfig Router Config class widgets
- RouteSettingsclass
Data that might be useful in constructing a Route. widgets.RouteSettings RouteSettings Route Settings class widgets
- RouteAwareclass
interface for objects that are aware of their current Route. widgets.RouteAware RouteAware Route Aware class widgets
- RouterDelegateclass
delegate that is used by the Router widget to build and configure a navigating widget. widgets.RouterDelegate RouterDelegate Router Delegate class widgets
- Router.withConfigconstructor
Creates a router with a RouterConfig. widgets.Router.Router.withConfig Router withConfig Router.with Config constructor widgets
- Routerclass
dispatcher for opening and closing pages of an application. widgets.Router Router Router class widgets
- Route.newconstructor
Initialize the Route. widgets.Route.Route.new Route new Route.new constructor widgets
- Router.newconstructor
Creates a router. widgets.Router.Router.new Router new Router.new constructor widgets
- RouterConfig.newconstructor
Creates a RouterConfig. widgets.RouterConfig.RouterConfig.new RouterConfig new Router Config.new constructor widgets
- RouteInformation.newconstructor
Creates a route information object. widgets.RouteInformation.RouteInformation.new RouteInformation new Route Information.new constructor widgets
- RouteSettings.newconstructor
Creates data used to construct routes. widgets.RouteSettings.RouteSettings.new RouteSettings new Route Settings.new constructor widgets
- RouteObserver.newconstructor
widgets.RouteObserver.RouteObserver.new RouteObserver new Route Observer.new constructor widgets
- RouteAware.newconstructor
widgets.RouteAware.RouteAware.new RouteAware new Route Aware.new constructor widgets
- RouterDelegate.newconstructor
widgets.RouterDelegate.RouterDelegate.new RouterDelegate new Router Delegate.new constructor widgets
- RouteInformationProvider.newconstructor
widgets.RouteInformationProvider.RouteInformationProvider.new RouteInformationProvider new Route Information Provider.new constructor widgets
- RouteTransitionRecord.newconstructor
widgets.RouteTransitionRecord.RouteTransitionRecord.new RouteTransitionRecord new Route Transition Record.new constructor widgets
- RouteInformationParser.newconstructor
provide const constructors so that they can be used in const expressions. widgets.RouteInformationParser.RouteInformationParser.new RouteInformationParser new Route Information Parser.new constructor widgets
- ModalRouteclass
route that blocks interaction with previous routes. widgets.ModalRoute ModalRoute Modal Route class widgets
- widgets.RouteInformationReportingTypeenum
Router's intention when it reports a new RouteInformation to the RouteInformationProvider. widgets.RouteInformationReportingType RouteInformationReportingType Route Information Reporting Type enum widgets
- PopupRouteclass
modal route that overlays a widget over the current route. widgets.PopupRoute PopupRoute Popup Route class widgets
- PlatformRouteInformationProviderclass
route information provider that propagates the platform route information changes. widgets.PlatformRouteInformationProvider PlatformRouteInformationProvider Platform Route Information Provider class widgets
- widgets.RouteFactorytypedef
Creates a route for the given route settings. widgets.RouteFactory RouteFactory Route Factory typedef widgets
- widgets.RoutePresentationCallbacktypedef
that navigator and returns the opaque ID of that new route. widgets.RoutePresentationCallback RoutePresentationCallback Route Presentation Callback typedef widgets
Version changes
- The Route Transition record and Transition delegate updates1.20.0breaking
boolean getter `isWaitingForExitingDecision` was added to the route transition record and the `isEntering` getter was renamed to `isWaitingForEnteringDecision`. In the `resolve()` method for the transition delegate
- Deprecated RouteInformation.location3.13.0deprecated
field was added to `RouteInformation` that captures the entire deeplink information and route-related parameters were converted to the full `Uri` format. This led to deprecation
- The Route and Navigator refactoring1.17.0breaking
install()` method no longer has an `insertionPoint` parameter. The `isInitialRoute` property in `RouteSetting` has been deprecated, and `Navigator.pop()` no longer returns a value. The boolean return value
- Removed RouteSettings.copyWith3.7.0removed
RouteSettings.copyWith` method is removed, and apps that use it need to use the constructor to create a new `RouteSettings` instance instead. `RouteSettings.copyWith` was removed With the introduction
- Semantics Order of the Overlay Entries in Modal Routes1.20.0breaking
changed the semantics traverse order of the overlay entries in modal routes. Accessibility talk back or voice over now focuses the scope of a modal route
- 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
- Deprecate RouteTransitionRecord.markForRemove3.32.0deprecated
issue is properly resolved, allowing developers to pass a result. If you implemented `RouteTransitionRecord` and used `markForRemove`, you need to use `markForComplete` instead. `markForRemove` is now deprecated
- [web] Popping a nameless route should preserve the correct route name3.38.0platform
Popping a nameless route should preserve the correct route name (Web, by @mdebbar
- Fixes an issue with fullscreen route transitions.3.27.3bugfix
Fixes an issue with fullscreen route transitions
- - Material routes delayed on push and pop2.5.1bugfix
Material routes delayed on push
- Stricter Android Intent verification for app entrypointsunreleasedbreaking
FlutterFragmentActivity`) now verifies the sender of `Intent` objects before processing `EXTRA_INITIAL_ROUTE`, `EXTRA_DART_ENTRYPOINT`, `EXTRA_DART_ENTRYPOINT_ARGS`, `EXTRA_CACHED_ENGINE_ID`, and `EXTRA_CACHED
- Rebuild optimization for OverlayEntries and Routes1.17.0breaking
This optimization improves performance for route transitions, but it may uncover missing calls to `setState` in your app. In most cases, this change doesn't require
- Add RouteSettings to showCupertinoSheet3.44.0new-feature
RouteSettings to showCupertinoSheet (Framework, by @jonmountjoy). RouteSettings
- Fix RouteAware.didPushNext documentation inaccuracy3.44.0bugfix
RouteAware.didPushNext documentation inaccuracy (Framework, by @ishaquehassan). RouteAware.didPushNext
- Fixed RenderFlex overflow in RouteObserver Example3.41.0bugfix
Fixed RenderFlex overflow in RouteObserver Example (Framework, by @prash4931). RenderFlex RouteObserver
- Clarify route transition animations3.47.0improvement
Clarify route transition animations (Framework, by @mvincentong
- Predictive back route transitions by default3.38.0improvement
Predictive back route transitions by default (Material, by @justinmc
- Add route for 'tmp' to Flutter runner3.44.0new-feature
route for 'tmp' to Flutter runner (Other changes, by @chaopeng
- feat: add routes support in TestWidgetsApp3.44.0new-feature
feat: add routes support in TestWidgetsApp (Framework, by @rkishan516). TestWidgetsApp
- [web] Cleanup usages of deprecated `routeUpdated` message3.38.0deprecated
Cleanup usages of deprecated `routeUpdated` message (Web, by @mdebbar
- Reland predictive back route transitions by default3.38.0improvement
Reland predictive back route transitions by default (Material, by @justinmc
- Fix tooltip crash when route has secondary animation3.38.0bugfix
tooltip crash when route has secondary animation (Material, by @victorsanni