DirectColor class
Our UX Design Systen contains different colors. Because we are facing different kinds of users within different products, each specific function in Home Credit apps and websites uses different colors to denote a different purpose. This is done to make it easier for users to grasp a feel on what they are facing and thus influence how they behave.
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
- directBlack → const MaterialColor
- The direct black primary color and swatch
- directBlue → const MaterialColor
- The direct blue primary color and swatch
- directGreen → const MaterialColor
- The direct green primary color and swatch
- directOrange → const MaterialColor
- The direct orange primary color and swatch
- directRed → const MaterialColor
- The direct red primary color and swatch
- directYellow → const MaterialColor
- The direct yellow color and swatch
- primaryBlack → const Color
- Black Zero, our main logo monochromatic color is used as text and text fields.
- primaryRed → const Color
- Red Zero, our main logo color, is mainly used as page titles, warnings, and interactive elements.
- primaryWhite → const Color
- White Zero is used as the screen's background to give contrast
- secondaryBlue → const Color
- Blue Zero is used as a background in several products
- secondaryGold → const Color
- Gold Zero is used as a bonus card
- secondaryGreen → const Color
- Green Zero denotes success and shows progress
- secondaryOrange → const Color
- Orange Zero warns the users