DocumentBoundary class

A text boundary that uses the entire document as logical boundary.

Inheritance

Constructors

DocumentBoundary(String _text)
Creates a DocumentBoundary with the text.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getLeadingTextBoundaryAt(int position) int?
Returns the offset of the closest text boundary before or at the given position, or null if no boundaries can be found.
override
getTextBoundaryAt(int position) TextRange
Returns the text boundary range that encloses the input position.
inherited
getTrailingTextBoundaryAt(int position) int?
Returns the offset of the closest text boundary after the given position, or null if there is no boundary can be found after position.
override
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