StackedRoute class
A route that is displayed visually above the matching parent route using the Navigator.
The widget returned by builder is wrapped in Pageand provided to the root Navigator or the Navigator belonging to the nearest NestedStackRoute ancestor. The page will be either a MaterialPage or CupertinoPage depending on the application type.
This route has the same behavior as GoRoute in go_router >=3.0.0.
Constructors
-
StackedRoute({required String path, required StackedRouteBuilder builder, Redirect? redirect, List<
RouteBase> routes = const []})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited