StatusItem class final
One status contribution from an app, screen, task, or capability check.
Constructors
- StatusItem({required String id, required String label, String? value, StatusSeverity severity = StatusSeverity.info, CommandId? action})
-
const
- StatusItem.error(String label, {String? id, String? value, CommandId? action})
-
factory
- StatusItem.success(String label, {String? id, String? value, CommandId? action})
-
factory
- StatusItem.text(String label, {String? id, String? value, CommandId? action})
-
factory
- StatusItem.warning(String label, {String? id, String? value, CommandId? action})
-
factory
Properties
- action → CommandId?
-
final
- displayText → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
final
- label → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → StatusSeverity
-
final
- value → String?
-
final
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.
override