OverlayAlignment enum Null safety
OverlayAlignment is used with OverlayWidget to align the overlay widget.
Constructors
- OverlayAlignment()
-
const
Values
- topCenter → const OverlayAlignment
-
The center point along the top edge.
const OverlayAlignment(0)
- topLeft → const OverlayAlignment
-
The top left corner.
const OverlayAlignment(1)
- topRight → const OverlayAlignment
-
The top right corner.
const OverlayAlignment(2)
- center → const OverlayAlignment
-
The center point, both horizontally and vertically.
const OverlayAlignment(3)
- centerLeft → const OverlayAlignment
-
The center point along the left edge.
const OverlayAlignment(4)
- centerRight → const OverlayAlignment
-
The center point along the right edge.
const OverlayAlignment(5)
- bottomCenter → const OverlayAlignment
-
The center point along the bottom edge.
const OverlayAlignment(6)
- bottomLeft → const OverlayAlignment
-
The bottom left corner.
const OverlayAlignment(7)
- bottomRight → const OverlayAlignment
-
The bottom right corner.
const OverlayAlignment(8)
Properties
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<
OverlayAlignment> -
A constant List of the values in this enum, in order of their declaration.
[topCenter, topLeft, topRight, center, centerLeft, centerRight, bottomCenter, bottomLeft, bottomRight]