Intent class abstract
An abstract class representing a particular configuration of an Action.
This class is what the Shortcuts.shortcuts map has as values, and is used by an ActionDispatcher to look up an action and invoke it, giving it this object to extract configuration information from.
See also:
- Shortcuts, a widget used to bind key combinations to Intents.
- Actions, a widget used to map Intents to Actions.
- Actions.invoke, which invokes the action associated with a specified Intent using the Actions widget that most tightly encloses the given BuildContext.
- Mixed in types
- Implementers
- ActivateIntent
- AutocompleteNextOptionIntent
- AutocompletePreviousOptionIntent
- ButtonActivateIntent
- CopySelectionTextIntent
- DirectionalFocusIntent
- DirectionalTextEditingIntent
- DismissIntent
- DoNothingAndStopPropagationIntent
- DoNothingAndStopPropagationTextIntent
- DoNothingIntent
- NextFocusIntent
- PasteTextIntent
- PreviousFocusIntent
- PrioritizedIntents
- RedoTextIntent
- ReplaceTextIntent
- RequestFocusIntent
- ScrollIntent
- SelectAllTextIntent
- SelectIntent
- TransposeCharactersIntent
- UndoTextIntent
- UpdateSelectionIntent
- VoidCallbackIntent
- Annotations
Constructors
- Intent()
-
Abstract const constructor. This constructor enables subclasses to provide
const constructors so that they can be used in const expressions.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- doNothing → const DoNothingIntent
- An intent that is mapped to a DoNothingAction, which, as the name implies, does nothing.