Static access to light and dark Candi palettes.
Usage
// Direct color access
Container(color: CandiColors.light.surface);
Text('Hello', style: TextStyle(color: CandiColors.dark.text));
// With theme
MaterialApp(
theme: CandiColors.light.toThemeData(),
darkTheme: CandiColors.dark.toThemeData(),
);
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
- dark → const CandiPalette
- Dark mode palette with cool, muted tones.
- light → const CandiPalette
- Light mode palette with warm, Nordic-inspired colors.