RenderAbstractEditor class Null safety

Base interface for editable render objects.

Implemented types




hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


getEndpointsForSelection(TextSelection textSelection) List<TextSelectionPoint>
Returns the local coordinates of the endpoints of the given selection. [...]
getLineAtOffset(TextPosition position) TextSelection
Return a TextSelection containing the line of the given TextPosition.
getLocalRectForCaret(TextPosition position) Rect
Returns Rect for caret in local coordinates [...]
getPositionForOffset(Offset offset) TextPosition
Returns the local coordinates of the endpoints of the given selection. [...]
getTextPositionAbove(TextPosition position) TextPosition
Returns the TextPosition above the given offset into the text. [...]
getTextPositionBelow(TextPosition position) TextPosition
Returns the TextPosition below the given offset into the text. [...]
getWordBoundary(TextPosition position) TextRange
Returns the text range of the word at the given offset. Characters not part of a word, such as spaces, symbols, and punctuation, have word breaks on both sides. In such cases, this method will return a text range that contains the given text position. [...]
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 non-existent method or property is accessed. [...]
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, required SelectionChangedCause cause, Offset? to}) TextSelection?
Returns the new selection. Note that the returned value may not be yet reflected in the latest widget state. [...]
selectWord(SelectionChangedCause cause) → void
Select a word around the location of the last tap down. [...]
selectWordAtPosition(TextPosition position) TextSelection
selectWordEdge(SelectionChangedCause cause) → void
Move the selection to the beginning or end of a word. [...]
selectWordsInRange(Offset from, Offset to, SelectionChangedCause cause) → void
Selects the set words of a paragraph in a given range of global positions. [...]
setFloatingCursor(FloatingCursorDragState dragState, Offset lastBoundedOffset, TextPosition lastTextPosition, {double? resetLerpValue}) → void
Sets the screen position of the floating cursor and the text position closest to the cursor. resetLerpValue drives the size of the floating cursor. See EditorState.floatingCursorResetController.
toString() String
A string representation of this object. [...]


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