setFloatingCursor abstract method
void
setFloatingCursor(
- FloatingCursorDragState dragState,
- Offset lastBoundedOffset,
- TextPosition lastTextPosition, {
- double? resetLerpValue,
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.
Implementation
void setFloatingCursor(FloatingCursorDragState dragState,
Offset lastBoundedOffset, TextPosition lastTextPosition,
{double? resetLerpValue});