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