AppTheme constructor

const AppTheme({
  1. required Color primary,
  2. required Color secondary,
  3. required Color accent,
  4. required Color primaryBackground,
  5. required Color secondaryBackground,
  6. required Color accentBackground,
  7. required Color buttonBackground,
  8. required Color button,
  9. required Color error,
})

Implementation

const AppTheme({
  required this.primary,
  required this.secondary,
  required this.accent,
  required this.primaryBackground,
  required this.secondaryBackground,
  required this.accentBackground,
  required this.buttonBackground,
  required this.button,
  required this.error,
});