BackButtonBehaviorChecker enum
Enum representing different behaviors for handling a back button click event.
Values
- none → const BackButtonBehaviorChecker
-
Indicates that no specific action should be taken when the back button is clicked. The click event will not be intercepted or blocked in any way.
- ignore → const BackButtonBehaviorChecker
-
Indicates that the back button click event should be intercepted or blocked. The code can handle this event separately, potentially performing custom logic instead of the default back button behavior.
- close → const BackButtonBehaviorChecker
-
Indicates that the back button click event should be intercepted or blocked. In addition to intercepting the event, it also indicates that a toast (a small notification typically displayed on the screen) should be closed. The code can include the necessary logic to handle both the event interception and closing of the toast.
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<
BackButtonBehaviorChecker> - A constant List of the values in this enum, in order of their declaration.