PlToastPosition enum
Where the stack sits.
Written as one word rather than as a side and an alignment, because the two
are not independent: a toast stack is always pinned to the top or the bottom,
never to a side, and offering left as a side would invite a stack down
the middle of the screen that nothing in the layout survives.
Values
- topStart → const PlToastPosition
-
Pinned to the top, at the leading edge.
- topCenter → const PlToastPosition
-
Pinned to the top, in the middle.
- topEnd → const PlToastPosition
-
Pinned to the top, at the trailing edge.
- bottomStart → const PlToastPosition
-
Pinned to the bottom, at the leading edge.
- bottomCenter → const PlToastPosition
-
Pinned to the bottom, in the middle.
- bottomEnd → const PlToastPosition
-
Pinned to the bottom, at the trailing edge.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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<
PlToastPosition> - A constant List of the values in this enum, in order of their declaration.