Alignment class final
Flutter's Alignment: -1 (start) to 1 (end) per axis. JSON: [x, y].
- Annotations
-
- @immutable
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → List< num> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- bottomCenter → const Alignment
- bottomLeft → const Alignment
- bottomRight → const Alignment
- center → const Alignment
- centerLeft → const Alignment
- centerRight → const Alignment
-
named
→ const Map<
String, Alignment> -
Flutter's named alignments, which JSON may give instead of
[x, y]. - topCenter → const Alignment
- topLeft → const Alignment
- topRight → const Alignment