DoNothingIntent class
An Intent that is bound to a DoNothingAction.
Attaching a DoNothingIntent to a Shortcuts mapping is one way to disable a keyboard shortcut defined by a widget higher in the widget hierarchy and consume any key event that triggers it via a shortcut.
This intent cannot be subclassed.
See also:
- DoNothingAndStopPropagationIntent, a similar intent that will not handle the key event, but will still keep it from being passed to other key handlers in the focus chain.
Constructors
- DoNothingIntent()
-
Creates a const DoNothingIntent.
constfactory
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