ModulaPalette constructor

const ModulaPalette({
  1. required Color primary,
  2. required Color onPrimary,
  3. required Color secondary,
  4. required Color onSecondary,
  5. required Color background,
  6. required Color onBackground,
  7. required Color surface,
  8. required Color onSurface,
  9. required Color success,
  10. required Color onSuccess,
  11. required Color warning,
  12. required Color onWarning,
  13. required Color error,
  14. required Color onError,
  15. required Color info,
  16. required Color onInfo,
  17. required Color textPrimary,
  18. required Color textSecondary,
  19. required Color divider,
  20. required Color border,
  21. required Color buttonPrimary,
  22. required Color onButtonPrimary,
  23. required Color buttonSecondary,
  24. required Color onButtonSecondary,
  25. required Color disabled,
  26. required Color onDisabled,
  27. required Color shadow,
})

Implementation

const ModulaPalette({
  required this.primary,
  required this.onPrimary,
  required this.secondary,
  required this.onSecondary,
  required this.background,
  required this.onBackground,
  required this.surface,
  required this.onSurface,
  required this.success,
  required this.onSuccess,
  required this.warning,
  required this.onWarning,
  required this.error,
  required this.onError,
  required this.info,
  required this.onInfo,
  required this.textPrimary,
  required this.textSecondary,
  required this.divider,
  required this.border,
  required this.buttonPrimary,
  required this.onButtonPrimary,
  required this.buttonSecondary,
  required this.onButtonSecondary,
  required this.disabled,
  required this.onDisabled,
  required this.shadow,
});