ToastLayout enum

Toast layout options for organizing multiple toasts

Inheritance
Available extensions

Values

stack → const ToastLayout

Toasts stack on top of each other with overlap (default behavior) New toasts appear above/below existing ones with overlapping

column → const ToastLayout

Toasts are displayed in a column layout with smooth animations New toasts push existing ones up/down without overlap

Properties

description String

Available on ToastLayout, provided by the ToastLayoutExtension extension

Get the description for the layout
no setter
displayName String

Available on ToastLayout, provided by the ToastLayoutExtension extension

Get the display name for the layout
no setter
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
requiresAnimatedList bool

Available on ToastLayout, provided by the ToastLayoutExtension extension

Whether this layout requires animated list management
no setter
requiresCustomPositioning bool

Available on ToastLayout, provided by the ToastLayoutExtension extension

Whether this layout requires special positioning calculations
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportsMultiple bool

Available on ToastLayout, provided by the ToastLayoutExtension extension

Whether this layout supports multiple visible toasts
no setter
toDisplayMode ToastDisplayMode

Available on ToastLayout, provided by the ToastLayoutExtension extension

Convert layout to equivalent display mode
no setter

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<ToastLayout>
A constant List of the values in this enum, in order of their declaration.