Fluent2MessageIntent enum
What a Fluent2MessageBar tells, Fluent's intent: info (the
default, the neutral grey), success, warning, error.
Values
- info → const Fluent2MessageIntent
-
The neutral grey, for news.
- success → const Fluent2MessageIntent
-
Success's green, for something done.
- warning → const Fluent2MessageIntent
-
Warning's amber, for something to watch.
- error → const Fluent2MessageIntent
-
Danger's red, for something that failed.
Properties
- glyph → IconData
-
Its glyph, Fluent's
getIntentIcon.no setter - 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
- tone → Fluent2Tone
-
The tone its tint, border and glyph are drawn in.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
spokenIn(
Fluent2Localizations words) → String -
What a screen reader says for its glyph, in
words' language. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
Fluent2MessageIntent> - A constant List of the values in this enum, in order of their declaration.