OptimusNotificationVariant enum
Describes a certain type of notification with its semantical meaning.
Use-cases:
- OptimusNotificationVariant.info - Used for notifying about informational, supportive, educative matter.
- OptimusNotificationVariant.success - Used for notifying about successful, confirming, positive matter.
- OptimusNotificationVariant.warning - Used for notifying about warnings, problems, or matters that require the user's attention.
- OptimusNotificationVariant.danger - Used for notifying about the dangerous matter. Could be error, destructive action or negative feedback.
Constructors
- OptimusNotificationVariant()
-
const
Values
- info → const OptimusNotificationVariant
- success → const OptimusNotificationVariant
- warning → const OptimusNotificationVariant
- danger → const OptimusNotificationVariant
Properties
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<
OptimusNotificationVariant> - A constant List of the values in this enum, in order of their declaration.