NestedStackRoute class

A route that displays descendent StackedRoutes within its visual boundary.

This route places a nested Navigator in the widget tree, where any descendent StackedRoutes are placed onto this Navigator instead of the root Navigator, which allows you to display a UI shell around a nested stack of routes if this route is a child route of ShellRoute.

Inheritance

Constructors

NestedStackRoute.new({required String path, required NavigatorRouteBuilder builder, Redirect? redirect, List<RouteBase> routes = const []})

Properties

builder NavigatorRouteBuilder
final
hashCode int
The hash code for this object.
no setterinherited
path String
finalinherited
redirect Redirect?
finalinherited
routes List<RouteBase>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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