updateFloatingCursor method
Updates the floating cursor position and state.
See also:
- FloatingCursorDragState, which explains the floating cursor feature in detail.
Implementation
@override
void updateFloatingCursor(RawFloatingCursorPoint point) {
final TextPosition currentTextPosition = TextPosition(offset: 1);
Rect _startCaretRect = renderEditable!.getLocalRectForCaret(currentTextPosition);
renderEditable!.setFloatingCursor(point.state, _startCaretRect.center, currentTextPosition);
}