ExpandMode enum

Expansion behavior modes for toast notification stacks.

ExpandMode controls when and how stacked toast notifications expand to show multiple entries simultaneously. Different modes provide various user interaction patterns for managing multiple notifications.

Inheritance
Available extensions

Values

alwaysExpanded → const ExpandMode

Toast stack is always expanded, showing all notifications simultaneously.

All stacked toasts remain visible and fully sized at all times. Provides maximum information density but requires more screen space.

expandOnHover → const ExpandMode

Toast stack expands when mouse cursor hovers over the notification area.

Default behavior that provides on-demand access to stacked notifications through hover interaction. Collapses automatically after hover ends.

expandOnTap → const ExpandMode

Toast stack expands when user taps or clicks on the notification area.

Provides touch-friendly interaction for mobile devices and touch screens. Requires explicit user action to reveal stacked notifications.

disabled → const ExpandMode

Toast expansion is completely disabled.

Only the topmost toast is ever visible, with background toasts remaining collapsed. Provides minimal screen footprint at the cost of stack visibility.

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