RawFloatingCursorPoint constructor
- Offset? offset,
- (Offset, TextPosition)? startLocation,
- required FloatingCursorDragState state,
Creates information for setting the position and state of a floating cursor.
state must not be null and offset must not be null if the state is FloatingCursorDragState.Update.
Implementation
RawFloatingCursorPoint({
this.offset,
this.startLocation,
required this.state,
}) : assert(state != FloatingCursorDragState.Update || offset != null);