NormalizedTextRange class

Inheritance
Available extensions

Constructors

NormalizedTextRange({required int start, required int end})
const

Properties

end int
The next index after the characters in this range.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isCollapsed bool
Whether this range is empty (but still potentially placed inside the text).
no setterinherited
isNormalized bool
Whether the start of this range precedes the end.
no setterinherited
isValid bool
Whether this range represents a valid position in the text.
no setterinherited
normalized TextRange

Available on TextRange, provided by the MyTextRange extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start int
The index of the first character in the range.
finalinherited

Methods

compareToPosition(int position) int
Returns 1 if the position is before the range, -1 if the position is after the range, and zero if the position is within the range.
isAfter(TextRange other) bool

Available on TextRange, provided by the MyTextRange extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
textAfter(String text) String
The text after this range.
inherited
textBefore(String text) String
The text before this range.
inherited
textInside(String text) String
The text inside this range.
inherited
toString() String
A string representation of this object.
inherited

Operators

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