SelectionStatus enum

The status that indicates whether there is a selection and whether the selection is collapsed.

A collapsed selection means the selection starts and ends at the same location.

Inheritance

Constructors

SelectionStatus()
const

Values

uncollapsed → const SelectionStatus

The selection is not collapsed.

For example if {} represent the selection edges: 'ab{cd}', the collapsing status is uncollapsed. '{abcd}', the collapsing status is uncollapsed.

collapsed → const SelectionStatus

The selection is collapsed.

For example if {} represent the selection edges: 'ab{}cd', the collapsing status is collapsed. '{}abcd', the collapsing status is collapsed. 'abcd{}', the collapsing status is collapsed.

none → const SelectionStatus

No selection.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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.
inherited

Operators

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

Constants

values → const List<SelectionStatus>
A constant List of the values in this enum, in order of their declaration.