ContextMenuButtonType enum
The buttons that can appear in a context menu by default.
See also:
- ContextMenuButtonItem, which uses this enum to describe a button in a context menu.
Values
- cut → const ContextMenuButtonType
-
A button that cuts the current text selection.
- copy → const ContextMenuButtonType
-
A button that copies the current text selection.
- paste → const ContextMenuButtonType
-
A button that pastes the clipboard contents into the focused text field.
- selectAll → const ContextMenuButtonType
-
A button that selects all the contents of the focused text field.
- delete → const ContextMenuButtonType
-
A button that deletes the current text selection.
- lookUp → const ContextMenuButtonType
-
A button that looks up the current text selection.
- searchWeb → const ContextMenuButtonType
-
A button that launches a web search for the current text selection.
-
A button that displays the share screen for the current text selection.
- liveTextInput → const ContextMenuButtonType
-
A button for starting Live Text input.
See also:
- LiveText, where the availability of Live Text input can be obtained.
- LiveTextInputStatusNotifier, where the status of Live Text can be listened to.
- custom → const ContextMenuButtonType
-
Anything other than the default button types.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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<
ContextMenuButtonType> - A constant List of the values in this enum, in order of their declaration.