SelectionStatus enum Null safety

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.

SelectionStatus()
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.

SelectionStatus()
none → const SelectionStatus

No selection.

SelectionStatus()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
[uncollapsed, collapsed, none]