BoostContainerState class

Inheritance

Constructors

BoostContainerState()

Properties

context BuildContext
The location in the tree where this widget builds. [...]
read-only, inherited
focusScopeNode FocusScopeNode
The FocusScopeNode for the FocusScope that encloses the routes.
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
maybeOnstageNext bool
read-only
mounted bool
Whether this State object is currently in a tree. [...]
read-only, inherited
name String
read-only
onstage bool
read-only
overlay OverlayState
The overlay this navigator uses for its visual presentation.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
settings BoostContainerSettings
read-only
uniqueId String
read-only
userGestureInProgress bool
Whether a route is currently being manipulated by the user, e.g. as during an iOS back gesture. [...]
read-only, inherited
userGestureInProgressNotifier ValueNotifier<bool>
Notifies its listeners if the value of userGestureInProgress changes.
final, inherited
widget BoostContainer
The current configuration. [...]
read-only, override

Methods

addBackPressedListener(VoidCallback listener) VoidCallback
addLifeCycleObserver(BoostContainerLifeCycleObserver observer) VoidCallback
addResultObserver(ResultObserver observer) VoidCallback
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget. [...]
inherited
canPop() bool
Whether the navigator can be popped. [...]
inherited
createTicker(TickerCallback onTick) Ticker
Creates a ticker with the given callback. [...]
inherited
deactivate() → void
Called when this object is removed from the tree. [...]
@mustCallSuper, @protected, 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
didStartUserGesture() → void
The navigator is being controlled by a user gesture. [...]
inherited
didStopUserGesture() → void
A user gesture completed. [...]
inherited
didUpdateWidget(covariant Navigator oldWidget) → void
Called whenever the widget configuration changes. [...]
override
dispose() → void
Called when this object is removed from the tree permanently. [...]
override
finalizeRoute(Route route) → void
Complete the lifecycle for a route that has been popped off the navigator. [...]
inherited
findContainerNavigatorObserver(Navigator navigator) ContainerNavigatorObserver
initState() → void
Called when this object is inserted into the tree. [...]
inherited
maybePop<T extends Object>([T result]) Future<bool>
Consults the current route's Route.willPop method, and acts accordingly, potentially popping the route as a result; returns whether the pop request should be considered handled. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
performBackPressed() → void
performOnResult(Map data) → void
pop<T extends Object>([T result]) bool
Pop the top-most route off the navigator. [...]
override
popAndPushNamed<T extends Object, TO extends Object>(String routeName, {TO result, Object arguments}) Future<T>
Pop the current route off the navigator and push a named route in its place. [...]
@optionalTypeArgs, inherited
popUntil(RoutePredicate predicate) → void
Calls pop repeatedly until the predicate returns true. [...]
inherited
push<T extends Object>(Route<T> route) Future<T>
Push the given route onto the navigator. [...]
@optionalTypeArgs, inherited
pushAndRemoveUntil<T extends Object>(Route<T> newRoute, RoutePredicate predicate) Future<T>
Push the given route onto the navigator, and then remove all the previous routes until the predicate returns true. [...]
@optionalTypeArgs, inherited
pushNamed<T extends Object>(String routeName, {Object arguments}) Future<T>
Push a named route onto the navigator. [...]
@optionalTypeArgs, inherited
pushNamedAndRemoveUntil<T extends Object>(String newRouteName, RoutePredicate predicate, {Object arguments}) Future<T>
Push the route with the given name onto the navigator, and then remove all the previous routes until the predicate returns true. [...]
@optionalTypeArgs, inherited
pushReplacement<T extends Object, TO extends Object>(Route<T> newRoute, {TO result}) Future<T>
Replace the current route of the navigator by pushing the given route and then disposing the previous route once the new route has finished animating in. [...]
@optionalTypeArgs, inherited
pushReplacementNamed<T extends Object, TO extends Object>(String routeName, {TO result, Object arguments}) Future<T>
Replace the current route of the navigator by pushing the route named routeName and then disposing the previous route once the new route has finished animating in. [...]
@optionalTypeArgs, inherited
reassemble() → void
Called whenever the application is reassembled during debugging, for example during hot reload. [...]
@mustCallSuper, @protected, inherited
removeRoute(Route route) → void
Immediately remove route from the navigator, and Route.dispose it. [...]
inherited
removeRouteBelow(Route anchorRoute) → void
Immediately remove a route from the navigator, and Route.dispose it. The route to be removed is the one below the given anchorRoute. [...]
inherited
replace<T extends Object>({Route oldRoute, Route<T> newRoute}) → void
Replaces a route on the navigator with a new route. [...]
@optionalTypeArgs, inherited
replaceRouteBelow<T extends Object>({Route anchorRoute, Route<T> newRoute}) → void
Replaces a route on the navigator with a new route. The route to be replaced is the one below the given anchorRoute. [...]
@optionalTypeArgs, inherited
setState(VoidCallback fn) → void
Notify the framework that the internal state of this object has changed. [...]
@protected, 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
Returns a string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited