BackButtonBehavior enum

Enum for the Android's Back button behavior

Inheritance

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

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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
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.