AppColors class
THe class for dynamicly changable colors. Like in case you switching 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
Static Properties
- accentColor ↔ Color
-
The accent color
getter/setter pair
- altAccentColor ↔ Color
-
The alternative accent color
getter/setter pair
- darkShadowColor ↔ Color
-
The dark shadow color
getter/setter pair
- lightShadowColor ↔ Color
-
The light shadow color
getter/setter pair
- mainColor ↔ Color
-
The main color
getter/setter pair
- mainGradient → Gradient
-
The alternative text color
no setter
- reversedGradient → Gradient
-
The alternative text color
no setter
- reversedShadowGradient → Gradient
-
The alternative text color
no setter
- shadowGradient → Gradient
-
The alternative text color
no setter
- textColor ↔ Color
-
The text color
getter/setter pair
Static Methods
-
currentInnerShadows(
{double blurMultiplier = 1.0, double offsetMultiplier = 1.0}) → List< Shadow> - The alternative text color
-
currentShadows(
{double blurMultiplier = 1.0, double offsetMultiplier = 1.0}) → List< Shadow> - The alternative text color
-
switchColorMode(
bool darkMode) → dynamic - The alternative text color