AdvancedNavigatorState class
- Inheritance
-
- Object
- State<
AdvancedNavigator> - AdvancedNavigatorState
- Mixed-in types
Constructors
Properties
- context → BuildContext
-
The location in the tree where this widget builds.
no setterinherited
- currentNestedPath → AdvancedRouteInformation?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- mounted → bool
-
Whether this State object is currently in a tree.
no setterinherited
-
no setter
- observedRouteInformation ↔ AdvancedRouteInformation?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag → String?
-
no setter
- widget → AdvancedNavigator
-
The current configuration.
no setterinherited
Methods
-
activate(
) → void -
Called when this object is reinserted into the tree after having been
removed via deactivate.
inherited
-
addChild(
→ void ) -
addObserver(
RouteInformationObserver observer) → void -
inherited
-
attach<
T extends Object> (Route< T> route) → Future<T?> - Adds pageless route to top of navigator route stack.
-
attachNamed<
T extends Object> (String routeName, {Object? arguments}) → Future< T?> - Adds pageless route with given name to top of navigator route stack.
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
deactivate(
) → void -
Called when this object is removed from the tree.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
didChangeDependencies(
) → void -
Called when a dependency of this State object changes.
inherited
-
didUpdateWidget(
covariant AdvancedNavigator oldWidget) → void -
Called whenever the widget configuration changes.
inherited
-
dispose(
) → void -
Called when this object is removed from the tree permanently.
override
-
initState(
) → void -
Called when this object is inserted into the tree.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyObservers(
) → void -
inherited
-
open(
List< Page> pages, {Object? state}) → void - Opens given path with its entire history stack.
-
openNamed(
String location, {Object? state, Object? arguments}) → Future< void> - Opens path from given location reference with its entire history stack.
-
pop<
T extends Object> ([T? result]) → void - Pops topmost route and its corresponding page, if any.
-
push<
T extends Object> (Page< T> page) → Future<T?> - Pushes given page to top of navigator page stack and inflates it.
-
pushNamed<
T extends Object> (String name, {Object? arguments}) → Future< T?> - Pushes page with given name to top of navigator page stack and inflates it.
-
reassemble(
) → void -
Called whenever the application is reassembled during debugging, for
example during hot reload.
inherited
-
removeChild(
→ void ) -
removeObserver(
RouteInformationObserver observer) → void -
inherited
-
setState(
VoidCallback fn) → void -
Notify the framework that the internal state of this object has changed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
-
updatedSubtree(
AdvancedRouteInformation? subtreeConfiguration) → void -
Update
_currentNestedPath
from router delegate with new route information from nested navigators and notify route information provider
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited