DirectColor class Null safety

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. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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 [...]
MaterialColor(_directBlackPrimaryValue, <int, Color>{20 : Color(0xFFF4F4F4), 40 : Color(0xFFC8C8C8), 80 : Color(0xFF7B7B7B), 100 : Color(_directBlackPrimaryValue)})
directBlue → const MaterialColor
The direct blue primary color and swatch [...]
MaterialColor(_directBluePrimaryValue, <int, Color>{20 : Color(0xFFEBF4FC), 80 : Color(0xFF89BCEF), 100 : Color(_directBluePrimaryValue), 200 : Color(0xFF235689)})
directGreen → const MaterialColor
The direct green primary color and swatch [...]
MaterialColor(_directGreenPrimaryValue, <int, Color>{20 : Color(0xFFECF6EE), 80 : Color(0xFF8ACC9A), 100 : Color(_directGreenPrimaryValue), 200 : Color(0xFF246634)})
directOrange → const MaterialColor
The direct orange primary color and swatch [...]
MaterialColor(_directOrangePrimaryValue, <int, Color>{20 : Color(0xFFFFF4EA), 80 : Color(0xFFFFBC7E), 100 : Color(_directOrangePrimaryValue), 200 : Color(0xFF985619)})
directRed → const MaterialColor
The direct red primary color and swatch [...]
MaterialColor(_directRedPrimaryValue, <int, Color>{20 : Color(0xFFFCE8EA), 50 : Color(0xFFEC7482), 100 : Color(_directRedPrimaryValue), 200 : Color(0xFF860E1D)})
directYellow → const MaterialColor
The direct yellow color and swatch [...]
MaterialColor(_directYellowPrimaryValue, <int, Color>{20 : Color(0xFFFFF8E6), 80 : Color(0xFFFFD569), 100 : Color(_directYellowPrimaryValue), 200 : Color(0xFF986E04)})
primaryBlack → const Color
Black Zero, our main logo monochromatic color is used as text and text fields.
Color(0xFF262626)
primaryRed → const Color
Red Zero, our main logo color, is mainly used as page titles, warnings, and interactive elements.
Color(0xFFE11931)
primaryWhite → const Color
White Zero is used as the screen's background to give contrast
Color(0xFFFFFFF)
secondaryBlue → const Color
Blue Zero is used as a background in several products
Color(0xFF3C91E6)
secondaryGold → const Color
Gold Zero is used as a bonus card
Color(0xFFFFBA08)
secondaryGreen → const Color
Green Zero denotes success and shows progress
Color(0xFF3EAC58)
secondaryOrange → const Color
Orange Zero warns the users
Color(0xFFFF912A)