QuickSnackBarType enum
Defines the visual style and behavior type of the snackbar.
Each type has predefined colors and icons that match common UI patterns:
- Success: Green background with check icon
- Failure: Red background with error icon
- Warning: Orange background with warning icon
- Info: Blue background with info icon
- Custom: Allows custom colors and uses notification icon
Values
- success → const QuickSnackBarType
-
Green snackbar with check circle icon - used for successful operations
- failure → const QuickSnackBarType
-
Red snackbar with error icon - used for failed operations or errors
- warning → const QuickSnackBarType
-
Orange snackbar with warning icon - used for warnings and cautions
- info → const QuickSnackBarType
-
Blue snackbar with info icon - used for informational messages
- custom → const QuickSnackBarType
-
Custom colored snackbar with notification icon - allows custom styling
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<
QuickSnackBarType> - A constant List of the values in this enum, in order of their declaration.