StateRouteObserver class
A helper class. Manages the use of a RouteObserver that subscribes State objects.
Constructors
- StateRouteObserver()
- A instance with one lone state observer.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
routeObserver
↔ RouteObserver<
PageRoute> -
Supply the means to 'observe' the Flutter's routing mechanism
getter/setter pair
- 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
-
subscribe(
State< StatefulWidget> state) → bool - Make a State object aware of route changes.
-
toString(
) → String -
A string representation of this object.
inherited
-
unsubscribe(
State< StatefulWidget> state) → bool - Remove the State object as a route observer.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited