CustomColors class
A class that defines custom colors used in the application.
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
Static Properties
- appBar ↔ Color
-
Color for the app bar in light mode.
getter/setter pair
- appBarDark ↔ Color
-
Color for the app bar in dark mode.
getter/setter pair
- background ↔ Color
-
Color for the background in light mode.
getter/setter pair
- backgroundDark ↔ Color
-
Color for the background in dark mode.
getter/setter pair
-
colorNotifier
↔ ValueNotifier<
CustomColors?> -
getter/setter pair
- dark ↔ Color
-
Color for dark elements in light mode.
getter/setter pair
- darkDark ↔ Color
-
Color for dark elements in dark mode.
getter/setter pair
- grey ↔ Color
-
getter/setter pair
- greyDark ↔ Color
-
getter/setter pair
- invertedText ↔ Color
-
getter/setter pair
- light ↔ Color
-
Color for light elements in light mode.
getter/setter pair
- lightDark ↔ Color
-
Color for light elements in dark mode.
getter/setter pair
- text ↔ Color
-
getter/setter pair
Static Methods
-
resetColors(
) → void - Resets all custom colors to their default values.
-
setColor(
CustomColor colorType, Color color) → void - Sets the color for a given custom color type.