FToastAlignment enum
The toast's alignment.
Values
- topStart → const FToastAlignment
-
Aligns the toasts to the top start of the screen, depending on the locale's text direction.
const FToastAlignment(AlignmentDirectional.topStart, Alignment.bottomCenter)
- topEnd → const FToastAlignment
-
Aligns the toasts to the start of the screen, depending on the locale's text direction.
const FToastAlignment(AlignmentDirectional.topEnd, Alignment.bottomCenter)
- topLeft → const FToastAlignment
-
Aligns the toasts to the top left of the screen.
const FToastAlignment(Alignment.topLeft, Alignment.bottomCenter)
- topRight → const FToastAlignment
-
Aligns the toasts to the top right of the screen.
const FToastAlignment(Alignment.topRight, Alignment.bottomCenter)
- topCenter → const FToastAlignment
-
Aligns the toasts to the top center of the screen.
const FToastAlignment(Alignment.topCenter, Alignment.bottomCenter)
- bottomStart → const FToastAlignment
-
Aligns the toasts to the bottom start of the screen, depending on the locale's text direction.
const FToastAlignment(AlignmentDirectional.bottomStart, Alignment.topCenter)
- bottomEnd → const FToastAlignment
-
Aligns the toasts to the bottom end of the screen, depending on the locale's text direction.
const FToastAlignment(AlignmentDirectional.bottomEnd, Alignment.topCenter)
- bottomLeft → const FToastAlignment
-
Aligns the toasts to the bottom left of the screen.
const FToastAlignment(Alignment.bottomLeft, Alignment.topCenter)
- bottomRight → const FToastAlignment
-
Aligns the toasts to the bottom right of the screen.
const FToastAlignment(Alignment.bottomRight, Alignment.topCenter)
- bottomCenter → const FToastAlignment
-
Aligns the toasts to the bottom center of the screen.
const FToastAlignment(Alignment.bottomCenter, Alignment.topCenter)
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<
FToastAlignment> - A constant List of the values in this enum, in order of their declaration.