Neutral class
A status for general-purpose labels where the icon is customizable.
Use this status when the component's meaning is neutral and you want to provide a specific icon.
- Inheritance
-
- Object
- OudsIconStatus
- Neutral
Constructors
Properties
- backgroundColor → Color?
-
The background color to apply behind the icon.
final
- getBackgroundColor → Color?
-
Returns the background color to apply behind the icon.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → String?
-
The path to the custom SVG asset for the icon.
final
- isTinted → bool
-
Returns whether the icon is tinted.
no setterinherited
- nonFunctionalIcon → String?
-
Returns the custom icon asset path for non-functional statuses.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semanticsLabel → String?
-
The label for accessibility when using a custom icon.
final
- tinted → bool
-
Controls whether the icon should be tinted with the theme color. Defaults to
true. When set tofalse, the icon is displayed with its original colors (e.g., for multi-color icons). Note that untinted icons must ensure sufficient contrast with the background for accessibility reasons.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.
inherited