A read-only interface for accessing the details of a selection under a SelectionListener.
This includes information such as the status of the selection indicating if it is collapsed or uncollapsed, the SelectedContentRange that includes the start and end offsets of the selection local to the SelectionListener that reports this object.
This object is typically accessed by providing a SelectionListenerNotifier to a SelectionListener and retrieving the value from SelectionListenerNotifier.selection.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- range → SelectedContentRange?
-
The computed selection range of the owning SelectionListeners subtree.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → SelectionStatus
-
The status that indicates whether there is a selection and whether the selection is collapsed.
no setter
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