TextSelectionHandleType enum Null safety
Which 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':
-
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.
Constants
- collapsed → const TextSelectionHandleType
-
The start and end of the selection are co-incident at this point.
const TextSelectionHandleType(2)
- left → const TextSelectionHandleType
-
The selection handle is to the left of the selection end point.
const TextSelectionHandleType(0)
- right → const TextSelectionHandleType
-
The selection handle is to the right of the selection end point.
const TextSelectionHandleType(1)
-
values
→ const List<
TextSelectionHandleType> -
A constant List of the values in this enum, in order of their declaration.
const List<
TextSelectionHandleType>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited