StatefulLocation class abstract

A location that maintains its own state with the use of a Navigator. A StatefulLocation hosts its children in individually separate navigation stacks. Specify how the children are built using childBuilder. Customize the wrapping container all children live in via containerBuilder.

See also:

Inheritance
Implementers

Constructors

StatefulLocation.new()
A location that maintains its own state with the use of a Navigator. A StatefulLocation hosts its children in individually separate navigation stacks. Specify how the children are built using childBuilder. Customize the wrapping container all children live in via containerBuilder.

Properties

builder LocationBuilder
What Widget to build for this location.
no setteroverride
childBuilder StatefulLocationBuilder
The builder for the wrapping page of this location.
no setter
children List<Location>
The children of this location, these will be the root of each Navigator in the DuckShell.
no setter
containerBuilder StatefulLocationPageBuilder?
The builder for the container around all children. For example, if you want to wrap each child in a modal via a DuckPage.
no setter
hashCode int
The hash code for this object.
no setterinherited
pageBuilder LocationPageBuilder?
Advanced builder for cases wherein you want to provide a custom Page.
no setteroverride
path String
The path of this location.
no setterinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state DuckShellState
The state of the DuckShell for this location.
no setter
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
uri Uri
The URI representation of this location. Automatically corresponds to the path.
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