AppTheme constructor

const AppTheme({
  1. required String name,
  2. required Brightness brightness,
  3. required Color primaryColor,
  4. required Color accentColor,
  5. required Color scaffoldBackgroundColor,
  6. required Color backgroundColor,
  7. required Color cardColor,
  8. required Color textColor,
  9. required Color secondaryTextColor,
  10. Map<String, dynamic> customStyles = const {},
})

Implementation

const AppTheme({
  required this.name,
  required this.brightness,
  required this.primaryColor,
  required this.accentColor,
  required this.scaffoldBackgroundColor,
  required this.backgroundColor,
  required this.cardColor,
  required this.textColor,
  required this.secondaryTextColor,
  this.customStyles = const {},
});