TextAnchor enum Null safety

Types of text rendering positions.

Inheritance

Constructors

TextAnchor()
const

Values

start → const TextAnchor
  • TextAnchor.start, anchors the text at the start position.
const TextAnchor(0)
middle → const TextAnchor
  • TextAnchor.middle, anchors the text at the middle position.
const TextAnchor(1)
end → const TextAnchor
  • TextAnchor.end, anchors the text at the end position.
const TextAnchor(2)

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.
[start, middle, end]