SelectionGranularEvent class final

Select a granular unit (word, line, all) without explicit start/end coordinates. The receiving Selectable interprets the granularity against its own content.

Inheritance

Constructors

SelectionGranularEvent({required SelectionGranularity granularity, CellOffset? globalPosition})
const

Properties

globalPosition → CellOffset?
Screen-space cell anchor point. Required for SelectionGranularity.word and SelectionGranularity.line (the unit at this point); null and ignored for SelectionGranularity.all.
final
granularity → SelectionGranularity
Which unit of content to select.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited