BaseNavigationStack<AppTabType> class abstract

Abstract class describing interface for navigation stack

Implementers

Constructors

BaseNavigationStack.new()

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

addRoute({required dynamic routeName, AppTabType? tab, required UIRouteSettings settings}) → void
Adds specific route to stack Can be screen route, dialog route or bottom sheet route Therefore route name is dynamic CurrentTab is always null for global navigation
checkUnique({required dynamic routeName, AppTabType? tab, required bool global}) bool
Checks if specific route is already in stack Can be screen route, dialog route or bottom sheet route Therefore route name is dynamic returns true if object is not present in stack
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop(AppTabType? tab) → void
Pops latest route from stack
replaceLastRoute({required dynamic routeName, AppTabType? tab, required UIRouteSettings settings}) → void
Replaces latest route in stack Can be screen route, dialog route or bottom sheet route Therefore route name is dynamic CurrentTab is always null for global navigation
replaceStack({required dynamic routeName, AppTabType? tab, required UIRouteSettings settings}) → void
Replaces whole stack with given route Route can be only screen route therefore routeName defined as RouteNames
toString() String
A string representation of this object.
inherited

Operators

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