RenderAbstractEditor class abstract

Base interface for editable render objects.

Implementers

Constructors

RenderAbstractEditor()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getEndpointsForSelection(TextSelection selection) List<TextSelectionPoint>
Returns the local coordinates of the endpoints of the given selection.
getPositionForOffset(Offset offset) TextPosition
handleTapDown(TapDownDetails details) → void
If ignorePointer is false (the default) then this method is called by the internal gesture recognizer's TapGestureRecognizer.onTapDown callback.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preferredLineHeight(TextPosition position) double
Returns preferred line height at specified position in text.
selectLineAtPosition(TextPosition position) TextSelection
selectPosition({required SelectionChangedCause cause}) → void
Move selection to the location of the last tap down.
selectPositionAt({required Offset from, Offset? to, required SelectionChangedCause cause}) → void
Select text between the global positions from and to.
selectWord({required SelectionChangedCause cause}) → void
Select a word around the location of the last tap down.
selectWordAtPosition(TextPosition position) TextSelection
selectWordEdge({required SelectionChangedCause cause}) → void
Move the selection to the beginning or end of a word.
selectWordsInRange({required Offset from, Offset? to, required SelectionChangedCause cause}) → void
Selects the set words of a paragraph in a given range of global positions.
toString() String
A string representation of this object.
inherited

Operators

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