BackButtonBehavior enum
Enum for the Android's Back button behavior
Constructors
- BackButtonBehavior()
-
const
Values
- exit → const BackButtonBehavior
-
When the current NavbarItem is at the root of the navigation stack, pressing the Back button will trigger app exit, which can be handled in
onBackButtonPressed
. - rememberHistory → const BackButtonBehavior
-
When the selected NavbarItem is at the root of the navigation stack, pressing the Back button will switch to the previous NavbarItem based on the stack History of navbar.
Properties
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
Constants
-
values
→ const List<
BackButtonBehavior> - A constant List of the values in this enum, in order of their declaration.