GranularlyExtendSelectionEvent class
Extends the start or end of the selection by a given TextGranularity.
To handle this event, move the associated selection edge, as dictated by isEnd, according to the granularity.
- Inheritance
-
- Object
- SelectionEvent
- GranularlyExtendSelectionEvent
Constructors
- GranularlyExtendSelectionEvent({required bool forward, required bool isEnd, required TextGranularity granularity})
-
Creates a GranularlyExtendSelectionEvent.
const
Properties
- forward → bool
-
Whether to extend the selection forward.
final
- granularity → TextGranularity
-
The granularity for which the selection extend.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEnd → bool
-
Whether this event is updating the end selection edge.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → SelectionEventType
-
The type of this selection event.
finalinherited
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