TextAnchor enum
Part of the text placed closest to the anchor. Default value: "center".
Values
- CENTER → const TextAnchor
-
The center of the text is placed closest to the anchor.
- LEFT → const TextAnchor
-
The left side of the text is placed closest to the anchor.
- RIGHT → const TextAnchor
-
The right side of the text is placed closest to the anchor.
- TOP → const TextAnchor
-
The top of the text is placed closest to the anchor.
- BOTTOM → const TextAnchor
-
The bottom of the text is placed closest to the anchor.
- TOP_LEFT → const TextAnchor
-
The top left corner of the text is placed closest to the anchor.
- TOP_RIGHT → const TextAnchor
-
The top right corner of the text is placed closest to the anchor.
- BOTTOM_LEFT → const TextAnchor
-
The bottom left corner of the text is placed closest to the anchor.
- BOTTOM_RIGHT → const TextAnchor
-
The bottom right corner of the text is placed closest to the anchor.
Properties
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<
TextAnchor> - A constant List of the values in this enum, in order of their declaration.