rendererIgnoresPointer property

bool rendererIgnoresPointer
final

Whether the caller will provide gesture handling (true), or if the EditableText is expected to handle basic gestures (false).

When this is false, the EditableText (or more specifically, the RenderEditable) enables some rudimentary gestures (tap to position the cursor, long-press to select all, and some scrolling behavior).

These behaviors are sufficient for debugging purposes but are inadequate for user-facing applications. To enable platform-specific behaviors, use a TextSelectionGestureDetectorBuilder to wrap the EditableText, and set rendererIgnoresPointer to true.

When rendererIgnoresPointer is true true, the RenderEditable created by this widget will not handle pointer events.

This property is false by default.

See also:

Implementation

final bool rendererIgnoresPointer;