CommonTextSelectionGestureDetectorBuilder class

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.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hideToolbar Function
finalinherited
renderEditable ExtendedTextSelectionRenderObject
The RenderObject of the EditableText for which the builder will provide a TextSelectionGestureDetector.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldShowSelectionToolbar bool
Whether to show the selection toolbar.
getter/setter pairinherited
showToolbar Function
finalinherited
showToolbarInWeb bool
no setterinherited

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 nonexistent method or property is accessed.
inherited
onDoubleTapDown(TapDownDetails details) → void
Handler for TextSelectionGestureDetector.onDoubleTapDown.
inherited
onDragSelectionEnd(DragEndDetails details) → void
Handler for TextSelectionGestureDetector.onDragSelectionEnd.
inherited
onDragSelectionStart(DragStartDetails details) → void
Handler for TextSelectionGestureDetector.onDragSelectionStart.
inherited
onDragSelectionUpdate(DragStartDetails startDetails, DragUpdateDetails updateDetails) → void
Handler for TextSelectionGestureDetector.onDragSelectionUpdate.
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.
inherited
onSecondaryTapDown(TapDownDetails details) → void
Handler for TextSelectionGestureDetector.onSecondaryTapDown.
inherited
onSingleLongTapEnd(LongPressEndDetails details) → void
Handler for TextSelectionGestureDetector.onSingleLongTapEnd.
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.
inherited
onSingleTapUp(TapUpDetails details) → void
Handler for TextSelectionGestureDetector.onSingleTapUp.
override
onTapDown(TapDownDetails details) → void
Handler for TextSelectionGestureDetector.onTapDown.
inherited
toString() String
A string representation of this object.
inherited

Operators

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