TTheme constructor

const TTheme({
  1. required Color primary,
  2. required Color primaryForeground,
  3. required Color primaryPressed,
  4. required Color secondary,
  5. required Color secondaryForeground,
  6. required Color secondaryPressed,
  7. required Color accent,
  8. required Color accentForeground,
  9. required Color destructive,
  10. required Color destructiveForeground,
  11. required Color destructivePressed,
  12. required Color warning,
  13. required Color warningForeground,
  14. required Color warningPressed,
  15. required Color success,
  16. required Color successForeground,
  17. required Color successPressed,
  18. required Color info,
  19. required Color infoForeground,
  20. required Color ring,
  21. required Color active,
  22. required Color background,
  23. required Color foreground,
  24. required Color muted,
  25. required Color mutedForeground,
  26. required Color card,
  27. required Color cardForeground,
  28. required Color popover,
  29. required Color popoverForeground,
  30. required Color border,
  31. required Color input,
  32. String? fontFamily = FontFamily.inter,
})

Private constructor for singleton instances

Implementation

const TTheme({
  required this.primary,
  required this.primaryForeground,
  required this.primaryPressed,
  required this.secondary,
  required this.secondaryForeground,
  required this.secondaryPressed,
  required this.accent,
  required this.accentForeground,
  required this.destructive,
  required this.destructiveForeground,
  required this.destructivePressed,
  required this.warning,
  required this.warningForeground,
  required this.warningPressed,
  required this.success,
  required this.successForeground,
  required this.successPressed,
  required this.info,
  required this.infoForeground,
  required this.ring,
  required this.active,
  required this.background,
  required this.foreground,
  required this.muted,
  required this.mutedForeground,
  required this.card,
  required this.cardForeground,
  required this.popover,
  required this.popoverForeground,
  required this.border,
  required this.input,
  this.fontFamily = FontFamily.inter,
});