RawFloatingCursorPoint class
The current state and position of the floating cursor.
See also:
- FloatingCursorDragState, which explains the floating cursor feature in detail.
Constructors
- RawFloatingCursorPoint({Offset? offset, (Offset, TextPosition)? startLocation, required FloatingCursorDragState state})
- Creates information for setting the position and state of a floating cursor.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- offset → Offset?
-
The raw position of the floating cursor as determined by the iOS sdk.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startLocation → (Offset, TextPosition)?
-
Represents the starting location when initiating a floating cursor via long press.
This is a tuple where the first item is the local offset and the second item is the new caret position.
This is only non-null when a floating cursor is started.
final
- state → FloatingCursorDragState
-
The state of the floating cursor.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited