EditableTextTapOutsideIntent class

An Intent that represents a tap outside the field.

Invoked when the user taps outside the focused EditableText if EditableText.onTapOutside is null.

Override this Intent to modify the default behavior, which is to unfocus on a touch event on web and do nothing on other platforms.

See also:

Inheritance

Constructors

EditableTextTapOutsideIntent({required FocusNode focusNode, required PointerDownEvent pointerDownEvent})
Creates an EditableTextTapOutsideIntent.
const

Properties

focusNode FocusNode
The FocusNode that this Intent's action should be performed on.
final
hashCode int
The hash code for this object.
no setterinherited
pointerDownEvent PointerDownEvent
The PointerDownEvent that initiated this Intent.
final
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