SnackbarType enum

Enum defining the type of snackbar to display

Inheritance
Available extensions

Values

success → const SnackbarType

Success snackbar for positive confirmations

error → const SnackbarType

Error snackbar for errors and failures

info → const SnackbarType

Info snackbar for neutral information

Properties

backgroundColor Color

Available on SnackbarType, provided by the SnackbarTypeExtension extension

Get the default background color for this snackbar type
no setter
hashCode int
The hash code for this object.
no setterinherited
icon IconData

Available on SnackbarType, provided by the SnackbarTypeExtension extension

Get the default icon for this snackbar type
no setter
iconColor Color

Available on SnackbarType, provided by the SnackbarTypeExtension extension

Get the default icon color for this snackbar type
no setter
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
textColor Color

Available on SnackbarType, provided by the SnackbarTypeExtension extension

Get the default text color for this snackbar type
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<SnackbarType>
A constant List of the values in this enum, in order of their declaration.