PillStyles class
A collection of predefined PillStyle presets for common use cases.
These presets provide ready-to-use color schemes for different contexts such as success states, warnings, errors, and informational pills.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
- date → const PillStyle
- Pink-themed style for date/time or temporal content.
- defaultStyle → const PillStyle
- Default style with black border on transparent background.
- error → const PillStyle
- Red-themed style for error states or critical content.
- info → const PillStyle
- Blue-themed style for informational content.
- muted → const PillStyle
- Grey-themed style for disabled or muted content.
- neutral → const PillStyle
- Cyan-themed style for neutral or secondary content.
- special → const PillStyle
- Purple-themed style for special or highlighted content.
- success → const PillStyle
- Green-themed style for success states or positive content.
- warning → const PillStyle
- Orange-themed style for warning states.