AppExitResponse enum
The possible responses to a request to exit the application.
The request is typically responded to by creating an AppLifecycleListener and supplying an AppLifecycleListener.onExitRequested callback, or by overriding WidgetsBindingObserver.didRequestAppExit.
Values
- exit → const AppExitResponse
-
Exiting the application can proceed.
- cancel → const AppExitResponse
-
Cancel the exit: do not exit the application.
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<
AppExitResponse> - A constant List of the values in this enum, in order of their declaration.