ColorPalette class

Implementers

Constructors

ColorPalette({Color primary = Colors.deepPurple, Color primaryAccent = Colors.deepPurpleAccent, Color primaryContrast = Colors.purple, Color primaryContrastImportant = Colors.purpleAccent, Color primarySecondaryContrast = Colors.deepPurple, Color primarySecondaryContrastImportant = Colors.deepPurpleAccent, Color secondary = Colors.deepOrange, Color secondaryAccent = Colors.deepOrangeAccent, Color secondaryContrast = Colors.orange, Color secondaryContrastImportant = Colors.orangeAccent, Color secondaryPrimaryContrast = Colors.deepOrange, Color secondaryPrimaryContrastImportant = Colors.deepOrangeAccent, Color lightBg = Colors.white, Color lightBgAccent = Colors.white70, Color lightFg = Colors.white, Color lightFgAccent = Colors.white60, Color lightContrast = Colors.grey, Color lightContrastImportant = ConstantColors.gray800, Color lightPrimaryContrast = Colors.white70, Color lightPrimaryContrastImportant = Colors.white, Color lightSecondaryContrast = Colors.white70, Color lightSecondaryContrastImportant = Colors.white, Color lightImageContrast = Colors.white70, Color lightImageContrastImportant = Colors.white, Color darkBg = Colors.black, Color darkBgAccent = ConstantColors.gray1000, Color darkFg = ConstantColors.gray800, Color darkFgAccent = ConstantColors.gray700, Color darkContrast = Colors.white70, Color darkContrastImportant = Colors.white, Color darkPrimaryContrast = ConstantColors.gray800, Color darkPrimaryContrastImportant = Colors.black, Color darkSecondaryContrast = ConstantColors.gray800, Color darkSecondaryContrastImportant = Colors.black, Color darkImageContrast = ConstantColors.gray800, Color darkImageContrastImportant = Colors.black})

Properties

darkBg Color
read / write
darkBgAccent Color
read / write
darkContrast Color
read / write
darkContrastImportant Color
read / write
darkFg Color
read / write
darkFgAccent Color
read / write
darkImageContrast Color
read / write
darkImageContrastImportant Color
read / write
darkPrimaryContrast Color
read / write
darkPrimaryContrastImportant Color
read / write
darkSecondaryContrast Color
read / write
darkSecondaryContrastImportant Color
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
lightBg Color
read / write
lightBgAccent Color
read / write
lightContrast Color
read / write
lightContrastImportant Color
read / write
lightFg Color
read / write
lightFgAccent Color
read / write
lightImageContrast Color
read / write
lightImageContrastImportant Color
read / write
lightPrimaryContrast Color
read / write
lightPrimaryContrastImportant Color
read / write
lightSecondaryContrast Color
read / write
lightSecondaryContrastImportant Color
read / write
primary Color
read / write
primaryAccent Color
read / write
primaryContrast Color
read / write
primaryContrastImportant Color
read / write
primarySecondaryContrast Color
read / write
primarySecondaryContrastImportant Color
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
secondary Color
read / write
secondaryAccent Color
read / write
secondaryContrast Color
read / write
secondaryContrastImportant Color
read / write
secondaryPrimaryContrast Color
read / write
secondaryPrimaryContrastImportant Color
read / write

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