TextAnchor enum

Part of the text placed closest to the anchor.

Inheritance

Constructors

TextAnchor()
const

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.

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

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<TextAnchor>
A constant List of the values in this enum, in order of their declaration.