CupThreadColors class
Resolved color palette for CupThread Flutter UI widgets.
Constructors
- CupThreadColors({required Color background, required Color card, required Color cardBorder, required Color textPrimary, required Color textSecondary, required Color textMuted, required Color primary, required Color primaryHover, required Color primaryText, required Color border, required Color inputBg, required Color inputBorder, required Color accent, required Color voteActiveBg, required Color voteActiveText, required Color voteInactiveBg, required Color voteInactiveText, required Color chipBg, required Color chipText, required Color divider})
-
const
Properties
- accent → Color
-
final
- background → Color
-
final
- border → Color
-
final
- card → Color
-
final
- cardBorder → Color
-
final
- chipBg → Color
-
final
- chipText → Color
-
final
- divider → Color
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputBg → Color
-
final
- inputBorder → Color
-
final
- primary → Color
-
final
- primaryHover → Color
-
final
- primaryText → Color
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textMuted → Color
-
final
- textPrimary → Color
-
final
- textSecondary → Color
-
final
- voteActiveBg → Color
-
final
- voteActiveText → Color
-
final
- voteInactiveBg → Color
-
final
- voteInactiveText → Color
-
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
Static Methods
-
resolve(
SdkTheme theme, {bool isDarkMode = false}) → CupThreadColors
Constants
- candy → const CupThreadColors
- dark → const CupThreadColors
- forest → const CupThreadColors
- light → const CupThreadColors
- midnight → const CupThreadColors
- ocean → const CupThreadColors
- sunset → const CupThreadColors