SnackbarDisplayMode enum

Defines how multiple snackbars are displayed when shown simultaneously

  • stacked: Snackbars stack visually on top of each other with offset
  • queued: Shows one snackbar at a time, queuing others to show after dismiss
  • replace: New snackbar replaces any existing one immediately How multiple snackbars are displayed when one is already active
Inheritance
Available extensions

Values

staggered → const SnackbarDisplayMode

Snackbars stack on top of each other in a staggered layer

notificationBubble → const SnackbarDisplayMode

Snackbars display as a notification bubble with count badge

queued → const SnackbarDisplayMode

New snackbars are queued and shown one after another

replace → const SnackbarDisplayMode

New snackbars replace the current one

Properties

$ Signal<T>

Available on T, provided by the SignalEnumExtensions extension

Return a signal from a Enum value
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
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<SnackbarDisplayMode>
A constant List of the values in this enum, in order of their declaration.