InfoBarSeverity enum

The severity levels that can be applied to an InfoBar.

Each severity level has a distinct visual appearance with an appropriate icon and background color to convey the importance of the message.

Inheritance
Available extensions

Values

info → const InfoBarSeverity

Informational message with a neutral appearance.

Use for general information that doesn't require immediate attention.

Info InfoBar

warning → const InfoBarSeverity

Warning message with a yellow/orange appearance.

Use to alert users about potential issues or important notices that may require attention but aren't critical.

Warning InfoBar

error → const InfoBarSeverity

Error message with a red appearance.

Use to notify users about errors or problems that need to be addressed.

Error InfoBar

success → const InfoBarSeverity

Success message with a green appearance.

Use to confirm that an operation completed successfully.

Success InfoBar

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