setFloatingCursor abstract method

void setFloatingCursor(
  1. FloatingCursorDragState dragState,
  2. Offset lastBoundedOffset,
  3. TextPosition lastTextPosition, {
  4. 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});