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 accentColor color.
getter/setter pair
buttonColors ↔ Color
Property that defines the buttonColors color.
getter/setter pair
darkShadow ↔ Color
Property that defines the darkShadow color.
getter/setter pair
gradient1 ↔ Color
Property that defines the gradient1 color.
getter/setter pair
gradient2 ↔ Color
Property that defines the gradient2 color.
getter/setter pair
gradient3 ↔ Color
Property that defines the gradient3 color.
getter/setter pair
gradient4 ↔ Color
Property that defines the gradient4 color.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
innerBackground ↔ Color
Property that defines the innerBackground color.
getter/setter pair
midShadow ↔ Color
Property that defines the midShadow color.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shadow ↔ Color
Property that defines the shadow color.
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