ListSelection class

Constructors

ListSelection()

Properties

data Iterable<Span>
no setter
first Span
no setter
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
no setter
isNotEmpty bool
no setter
last Span
no setter
length int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRange(int start, int end) List<Span>
Adds a range to this list, merging and removing intersecting ranges as needed.
clear() → void
containsIndex(int index) bool
indexOf(Span span) int
insertIndex(int index) → void
Inserts an index into the span sequence (e.g. when items are inserted into the model data).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeIndexes(int index, int count) → void
Removes a range of indexes from the span sequence (e.g. when items are removed from the model data).
removeRange(int start, int end) List<Span>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int index) Span