StackRouterController class

Constructors

StackRouterController()

Properties

clearSnackBars ↔ void Function({String? route})
Clears all snack bars on the given route. Defaults to the current route.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hideSnackBar ↔ void Function({String? route})
Hides the active snack bar on the given route. Defaults to the current route.
getter/setter pair
popRoute ↔ void Function([String? route])
Pops the given route from the router stack history. Defaults to the current route.
getter/setter pair
pushReplacementRoute ↔ void Function(String route)
Pushes the given route on top of the router stack and removes the previous route.
getter/setter pair
pushRoute ↔ void Function(String route)
Pushes the given route on top of the router stack.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showSnackBar ↔ void Function({String? route, required StackRouterSnackBar snackBar})
Displays a StackRouterSnackBar bottom of the StackRouterScaffold for the given route. Defaults to the current route.
getter/setter pair
switchRoute ↔ void Function(String route)
Switches the current route to the provided route by moving it from its previous position in the stack to the top or adding it to the top if it is not already present in the stack's history.
latefinal

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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