TextSelectionPoint class

Represents the coordinates of the point in a selection, and the text direction at that point, relative to top left of the RenderEditable that holds the selection.

Annotations
  • @immutable

Constructors

TextSelectionPoint(Offset point, TextDirection direction)
Creates a description of a point in a text selection. [...]
const

Properties

direction TextDirection
Direction of the text at this edge of the selection.
final
point Offset
Coordinates of the lower left or lower right corner of the selection, relative to the top left of the RenderEditable object.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited