DynamicAppColors class
Class that defines the App colors entity, which contains its properties and
methods.
Constructors
- DynamicAppColors({required Color gradient1, required Color gradient2, required Color gradient3, required Color gradient4, required Color buttonColors, required Color accentColor, required Color innerBackground, required Color shadow, required Color midShadow, required Color darkShadow})
- DynamicAppColors.fromButtonColor(Color buttonColor)
-
Returns a DynamicAppColors from the given
buttonColor.factory
Properties
- accentColor ↔ Color
-
Property that defines the
accentColorcolor.getter/setter pair -
Property that defines the
buttonColorscolor.getter/setter pair - darkShadow ↔ Color
-
Property that defines the
darkShadowcolor.getter/setter pair - gradient1 ↔ Color
-
Property that defines the
gradient1color.getter/setter pair - gradient2 ↔ Color
-
Property that defines the
gradient2color.getter/setter pair - gradient3 ↔ Color
-
Property that defines the
gradient3color.getter/setter pair - gradient4 ↔ Color
-
Property that defines the
gradient4color.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- innerBackground ↔ Color
-
Property that defines the
innerBackgroundcolor.getter/setter pair - midShadow ↔ Color
-
Property that defines the
midShadowcolor.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadow ↔ Color
-
Property that defines the
shadowcolor.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateColors(
Color buttonColor) → void -
Updates the colors based on the given
buttonColor.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited