RootNavigatorState class

Inheritance
Implemented types
Mixed in types

Constructors

RootNavigatorState()

Properties

beagle BeagleService
latefinalinherited
context BuildContext
The location in the tree where this widget builds.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
mounted bool
Whether this State object is currently in a tree.
no setterinherited
removeHotReloadingListener ↔ (void Function()?)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widget RootNavigator
The current configuration.
no setterinherited

Methods

activate() → void
Called when this object is reinserted into the tree after having been removed via deactivate.
inherited
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
inherited
buildBeagleWidget(BuildContext context) 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 RootNavigator oldWidget) → void
Called whenever the widget configuration changes.
inherited
dispose() → void
Called when this object is removed from the tree permanently.
override
getHistory() List<StackNavigator>
Gets a copy of the navigation history. Useful for testing.
initBeagleState() → void
override
initState() → void
Called when this object is inserted into the tree.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
popStack([NavigationContext? navigationContext]) → void
Removes the entire current navigation stack and navigates back to the last route of the previous stack. Throws an error if there's only one navigation stack.
override
popToView(String routeIdentifier, [NavigationContext? navigationContext]) → void
Removes every navigation entry in the current stack until the route identified by routeIdentifier is found. A route is identified by a string if its url equals to the string (RemoteView) or if the screen id equals to the string (LocalView).
override
popView([NavigationContext? navigationContext]) → void
Goes back one entry in the navigation history. If the current stack has only one view, this also pops the current stack. If only one stack and one view exist, it will throw an error.
override
pushStack(BeagleRoute route, [String? controllerId]) Future<void>
Creates and navigates to a new navigation stack where the first route is the parameter route.
override
pushView(BeagleRoute route, BuildContext context) Future<void>
Navigates to route by pushing it to the navigation history of the current navigation stack.
override
reassemble() → void
Called whenever the application is reassembled during debugging, for example during hot reload.
inherited
resetApplication(BeagleRoute route, [String? controllerId]) Future<void>
Removes the entire navigation history and starts it over by navigating to a new initial route (passed as parameter).
override
resetStack(BeagleRoute route, [String? controllerId]) Future<void>
Removes the current navigation stack and navigates to the a new stack where the first route is the one passed as parameter.
override
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

Operators

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