EditorTextSelectionGestureDetectorBuilderDelegate class abstract

Delegate interface for the EditorTextSelectionGestureDetectorBuilder.

The interface is usually implemented by textfield implementations wrapping EditableText, that use a EditorTextSelectionGestureDetectorBuilder to build a EditorTextSelectionGestureDetector for their EditableText. The delegate provides the builder with information about the current state of the textfield. Based on these information, the builder adds the correct gesture handlers to the gesture detector.

See also:

  • TextField, which implements this delegate for the Material textfield.
  • CupertinoTextField, which implements this delegate for the Cupertino textfield.
Implementers

Properties

editableTextKey GlobalKey<EditorState>
GlobalKey to the EditableText for which the EditorTextSelectionGestureDetectorBuilder will build a EditorTextSelectionGestureDetector.
no setter
forcePressEnabled bool
Whether the textfield should respond to force presses.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionEnabled bool
Whether the user may select text in the textfield.
no setter

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