GlobalAction enum

Inheritance
Available extensions

Values

globalActionAccessibilityAllApps → const GlobalAction

Action to show Launcher's all apps.

const GlobalAction(14)
globalActionAccessibilityButton → const GlobalAction

Action to trigger the Accessibility Button.

const GlobalAction(11)
globalActionAccessibilityButtonChooser → const GlobalAction

Action to bring up the Accessibility Button's chooser menu.

const GlobalAction(12)
globalActionAccessibilityShortcut → const GlobalAction

Action to trigger the Accessibility Shortcut. This shortcut has a hardware trigger and can be activated by holding down the two volume keys.

const GlobalAction(13)
globalActionBack → const GlobalAction

ction to go back.

const GlobalAction(1)
globalActionDismissNotificationShade → const GlobalAction

Action to dismiss the notification shade.

const GlobalAction(15)
globalActionHome → const GlobalAction

Action to go home.

const GlobalAction(2)
globalActionKeycodeHeadsethook → const GlobalAction

Action to send the KEYCODE_HEADSETHOOK KeyEvent, which is used to answer/hang up calls and play/stop media.

const GlobalAction(10)
globalActionLockScreen → const GlobalAction

Action to lock the screen.

const GlobalAction(8)
globalActionNotifications → const GlobalAction

Action to open the notifications.

const GlobalAction(4)
globalActionPowerDialog → const GlobalAction

Action to open the power long-press dialog.

const GlobalAction(6)
globalActionQuickSettings → const GlobalAction

Action to open the quick settings.

const GlobalAction(5)
globalActionRecents → const GlobalAction

Action to toggle showing the overview of recent apps. Will fail on platforms that don't show recent apps.

const GlobalAction(3)
globalActionTakeScreenshot → const GlobalAction

Action to toggle docking the current app's window.

const GlobalAction(9)
globalActionToggleSplitScreen → const GlobalAction

Action to toggle docking the current app's window.

const GlobalAction(7)
unknown → const GlobalAction

Unknown Global action

const GlobalAction(null)

Properties

hashCode int
The hash code for this object.
no setterinherited
id int?
final
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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<GlobalAction>
A constant List of the values in this enum, in order of their declaration.