stopFloatingCursorGesture method

Future<void> stopFloatingCursorGesture()

Simulates the user releasing the spacebar and stopping the floating cursor gesture.

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

Implementation

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