CommonTextSelectionGestureDetectorBuilder class Null safety

Inheritance

Constructors

CommonTextSelectionGestureDetectorBuilder({required ExtendedTextSelectionGestureDetectorBuilderDelegate delegate, required Function showToolbar, required Function hideToolbar, required Function? onTap, required BuildContext context, required Function? requestKeyboard})

Properties

delegate ExtendedTextSelectionGestureDetectorBuilderDelegate
The delegate for this ExtendedTextSelectionGestureDetectorBuilder. [...]
@protected, final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
hideToolbar Function
final, inherited
renderEditable ExtendedTextSelectionRenderObject
The RenderObject of the EditableText for which the builder will provide a TextSelectionGestureDetector.
@protected, read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shouldShowSelectionToolbar bool
Whether to show the selection toolbar. [...]
read-only, inherited
showToolbar Function
final, inherited

Methods

buildGestureDetector({Key? key, HitTestBehavior? behavior, required Widget child}) Widget
Returns a TextSelectionGestureDetector configured with the handlers provided by this builder. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onDoubleTapDown(TapDownDetails details) → void
Handler for TextSelectionGestureDetector.onDoubleTapDown. [...]
@protected, inherited
onDragSelectionEnd(DragEndDetails details) → void
Handler for TextSelectionGestureDetector.onDragSelectionEnd. [...]
@protected, inherited
onDragSelectionStart(DragStartDetails details) → void
Handler for TextSelectionGestureDetector.onDragSelectionStart. [...]
@protected, inherited
onDragSelectionUpdate(DragStartDetails startDetails, DragUpdateDetails updateDetails) → void
Handler for TextSelectionGestureDetector.onDragSelectionUpdate. [...]
@protected, inherited
onForcePressEnd(ForcePressDetails details) → void
Handler for TextSelectionGestureDetector.onForcePressEnd. [...]
override
onForcePressStart(ForcePressDetails details) → void
Handler for TextSelectionGestureDetector.onForcePressStart. [...]
override
onSecondaryTap() → void
Handler for TextSelectionGestureDetector.onSecondaryTap. [...]
@protected, inherited
onSecondaryTapDown(TapDownDetails details) → void
Handler for TextSelectionGestureDetector.onSecondaryTapDown. [...]
@protected, inherited
onSingleLongTapEnd(LongPressEndDetails details) → void
Handler for TextSelectionGestureDetector.onSingleLongTapEnd. [...]
@protected, inherited
onSingleLongTapMoveUpdate(LongPressMoveUpdateDetails details) → void
Handler for TextSelectionGestureDetector.onSingleLongTapMoveUpdate. [...]
override
onSingleLongTapStart(LongPressStartDetails details) → void
Handler for TextSelectionGestureDetector.onSingleLongTapStart. [...]
override
onSingleTapCancel() → void
Handler for TextSelectionGestureDetector.onSingleTapCancel. [...]
@protected, inherited
onSingleTapUp(TapUpDetails details) → void
Handler for TextSelectionGestureDetector.onSingleTapUp. [...]
override
onTapDown(TapDownDetails details) → void
Handler for TextSelectionGestureDetector.onTapDown. [...]
@protected, inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited