NamedPath class
A navigation path that is used to navigate to a named route.
- Inheritance
-
- Object
- NavigationPath
- NamedPath
Constructors
- NamedPath({required String pathName, required PathWidgetBuilder builder, RouteSettingsBuilder? routeSettings, RouteBuilder? routeBuilder})
Properties
- builder → PathWidgetBuilder
-
Builds the primary contents of the route.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- matcher → RouteMatcherCallback
-
When a named route is pushed with
Navigator.pushNamed
, the route name is matched using this matcher.finalinherited - pathName → String
-
final
- routeBuilder → RouteBuilder?
-
Builder to optionally create a Route to be navigated. Useful when builder is not enough and you need to create a Route with custom transitions.
finalinherited
- routeSettings → RouteSettingsBuilder?
-
An builter to optional create/modify data that might be useful in constructing a Route.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? pathName, RouteMatcherCallback? matcher, PathWidgetBuilder? builder, RouteSettingsBuilder? routeSettings, RouteBuilder? routeBuilder}) → NavigationPath -
override
-
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