TextSelectionTarget class abstract interface

A regular Text instance participating in a shared selection. Implementations use the same layout and clipping as their renderer. Instance identity must remain stable across frames, including repeated nested artboards.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectionAppearance → SelectionAppearance
no setter
selectionBounds → AABB
no setter
selectionEnabled → bool
no setter
selectionText → String
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
selectionHit(Vec2D rootPosition, {bool nearest = false}) → TextSelectionHit?
selectText(int start, int end, {SelectionAppearance? appearance}) → void
toString() → String
A string representation of this object.
inherited

Operators

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