PulseSnackBarVariant enum

Semantic variant of PulseSnackBar.

Mirrors the React DS toast semantics (toast.success(...) / toast.error(...) / plain toast(...)).

Inheritance
Available extensions

Values

info → const PulseSnackBarVariant

Neutral notification. Info icon tinted colorScheme.primary. Default.

success → const PulseSnackBarVariant

Positive confirmation. Check icon tinted PulseSemantics.success.

warning → const PulseSnackBarVariant

Non-blocking caution — the action went through but something needs attention (partial sync, approaching a limit, stale data). Warning icon tinted PulseSemantics.warning.

Use error instead when the action did not happen.

error → const PulseSnackBarVariant

Failure feedback. Error icon tinted colorScheme.error.

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