NiceColorScheme constructor

const NiceColorScheme({
  1. required Color primary,
  2. required Color primaryVariant,
  3. required Color secondary,
  4. required Color background,
  5. required Color surface,
  6. required Color error,
  7. required Color onPrimary,
  8. required Color onBackground,
  9. required Color onSurface,
  10. required Color onError,
  11. required Color border,
  12. required Color disabled,
  13. required Color success,
  14. required Color warning,
  15. required Color info,
})

Implementation

const NiceColorScheme({
  required this.primary,
  required this.primaryVariant,
  required this.secondary,
  required this.background,
  required this.surface,
  required this.error,
  required this.onPrimary,
  required this.onBackground,
  required this.onSurface,
  required this.onError,
  required this.border,
  required this.disabled,
  required this.success,
  required this.warning,
  required this.info,
});