CustomColors class
A utility class that defines color constants and themes for light and dark modes.
Constructors
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
- appThemeColor → const String
- The main theme color of the app.
- bgColor → const String
- The background color used in the app.
- black → const String
- The color for black elements.
- borderColorLevel1 → const String
- The first level border color for components.
- borderColorLevel2 → const String
- The second level border color for components.
-
darkTheme
→ const Map<
String, Color> - A map containing the dark theme color palette.
- filledItemBackground → const String
- The background color for filled items.
- filledItemBackground2 → const String
- greyButtonColor → const String
- The color for greyed-out buttons.
- greyIconColor → const String
- The color for greyed-out icons.
- greyTextColor → const String
- The color for greyed-out text.
- iconColor → const String
- The color for icons.
-
lightTheme
→ const Map<
String, Color> - A map containing the light theme color palette.
- primaryColor → const String
- The primary color used across the app.
- secondaryBgColor → const String
- A secondary background color used for contrast.
- titleTextColor → const String
- The color for title text.
- white → const String
- The color for white elements.