TextSelectionHandleType enum Null safety

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.

TextSelectionHandleType()

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

TextSelectionHandleType()
collapsed → const TextSelectionHandleType

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

TextSelectionHandleType()

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
[left, right, collapsed]