NotFound class
Default location to choose if requested URI doesn't parse to any location.
- Inheritance
-
- Object
- ChangeNotifier
- BeamLocation<
BeamState> - NotFound
Properties
-
guards
→ List<
BeamGuard> -
Guards that will be executing
check
when this gets beamed to.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
-
pathBlueprints
→ List<
String> -
Represents the "form" of URI paths supported by this BeamLocation.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ BeamState
-
A state of this location.
getter/setter pairinherited
- transitionDelegate → TransitionDelegate?
-
A transition delegate to be used by Navigator.
no setterinherited
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
builder(
BuildContext context, ) → Widget -
Gives the ability to wrap the
navigator
.inherited -
buildPages(
BuildContext context, BeamState state) → List< BeamPage> -
Creates and returns the list of pages to be built by the Navigator
when this BeamLocation is beamed to or internally inferred.
override
-
canHandle(
Uri uri) → bool -
Can this handle the
uri
based on its pathBlueprints.inherited -
createState(
BeamState state) → BeamState -
How to create state from generic BeamState, that is produced
by BeamerDelegate and passed via BeamerDelegate.locationBuilder.
inherited
-
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
[BeamState copy(BeamState)?, bool rebuild = true]) → void -
Update a state via callback receiving the current state.
If no callback is given, just notifies BeamerDelegate to rebuild.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited