updateFloatingCursorGesture method

Future<void> updateFloatingCursorGesture(
  1. Offset offset
)

Simulates the user swiping the spacebar by offset.

(0,0) means the point where the user started the gesture.

A floating cursor gesture must be started before calling this method.

Implementation

Future<void> updateFloatingCursorGesture(Offset offset) async {
  await _updateFloatingCursor(action: "FloatingCursorDragState.update", offset: offset);
}