BeagleNavigator class abstract

Implementers

Constructors

BeagleNavigator()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
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.
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).
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.
pushStack(BeagleRoute route, [String? controllerId]) Future<void>
Creates and navigates to a new navigation stack where the first route is the parameter route.
pushView(BeagleRoute route, BuildContext context) Future<void>
Navigates to route by pushing it to the navigation history of the current navigation stack.
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).
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.
toString() String
A string representation of this object.
inherited

Operators

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