OudsBadgeStatusModifier class

Modifier class to handle color logic based on badge status.

Constructors

OudsBadgeStatusModifier.new(BuildContext context)

Properties

context BuildContext
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getStatusColor(OudsBadgeStatus state) Color
Returns the background color based on the badge status.
getStatusTextAndIconColor(OudsBadgeStatus state) Color
Returns the text and icon color based on the badge status.
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