TextSelectionHandleType enum

The type of selection handle to be displayed.

With mixed-direction text, both handles may be the same type. Examples:

  • LTR text: 'the <quick brown> fox':

    The '<' is drawn with the left type, the '>' with the right

  • RTL text: 'XOF <NWORB KCIUQ> EHT':

    Same as above.

  • mixed text: '<the NWOR<B KCIUQ fox'

    Here 'the QUICK B' is selected, but 'QUICK BROWN' is RTL. Both are drawn with the left type.

See also:

  • TextDirection, which discusses left-to-right and right-to-left text in more detail.
Inheritance

Constructors

TextSelectionHandleType()
const

Values

left → const TextSelectionHandleType

The selection handle is to the left of the selection end point.

The selection handle is to the right of the selection end point.

collapsed → const TextSelectionHandleType

The start and end of the selection are co-incident at this point.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<TextSelectionHandleType>
A constant List of the values in this enum, in order of their declaration.