TextAnchor enum Null safety

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.
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<TextAnchor>
A constant List of the values in this enum, in order of their declaration.
[CENTER, LEFT, RIGHT, TOP, BOTTOM, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT]