SheenColors constructor

const SheenColors({
  1. required Color background,
  2. required Color surface,
  3. required Color surfaceMuted,
  4. required Color track,
  5. required Color separator,
  6. required Color text,
  7. required Color textSecondary,
  8. required Color textTertiary,
  9. required Color accent,
  10. required Color onAccent,
  11. required Color accentText,
  12. required Color success,
  13. required Color warning,
  14. required Color danger,
  15. required Color rating,
  16. required Color sheet,
})

A palette from its parts. Prefer SheenColors.light and SheenColors.dark, which derive the accent colours.

Implementation

const SheenColors({
  required this.background,
  required this.surface,
  required this.surfaceMuted,
  required this.track,
  required this.separator,
  required this.text,
  required this.textSecondary,
  required this.textTertiary,
  required this.accent,
  required this.onAccent,
  required this.accentText,
  required this.success,
  required this.warning,
  required this.danger,
  required this.rating,
  required this.sheet,
});