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.
Top left in LTR locales, top right in RTL locales.
const FToastAlignment(AlignmentDirectional.topStart, .bottomCenter) - topEnd → const FToastAlignment
-
Aligns the toasts to the start of the screen, depending on the locale's text direction.
Top right in LTR locales, top left in RTL locales.
const FToastAlignment(AlignmentDirectional.topEnd, .bottomCenter) - topLeft → const FToastAlignment
-
Aligns the toasts to the top left of the screen.
const FToastAlignment(.topLeft, .bottomCenter) - topRight → const FToastAlignment
-
Aligns the toasts to the top right of the screen.
const FToastAlignment(.topRight, .bottomCenter) - topCenter → const FToastAlignment
-
Aligns the toasts to the top center of the screen.
const FToastAlignment(.topCenter, .bottomCenter) - bottomStart → const FToastAlignment
-
Aligns the toasts to the bottom start of the screen, depending on the locale's text direction.
Bottom left in LTR locales, bottom right in RTL locales.
const FToastAlignment(AlignmentDirectional.bottomStart, .topCenter) - bottomEnd → const FToastAlignment
-
Aligns the toasts to the bottom end of the screen, depending on the locale's text direction.
Bottom right in LTR locales, bottom right in RTL locales.
const FToastAlignment(AlignmentDirectional.bottomEnd, .topCenter) - bottomLeft → const FToastAlignment
-
Aligns the toasts to the bottom left of the screen.
const FToastAlignment(.bottomLeft, .topCenter) - bottomRight → const FToastAlignment
-
Aligns the toasts to the bottom right of the screen.
const FToastAlignment(.bottomRight, .topCenter) - bottomCenter → const FToastAlignment
-
Aligns the toasts to the bottom center of the screen.
const FToastAlignment(.bottomCenter, .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.