TTheme constructor
const
TTheme({
- required Color primary,
- required Color primaryForeground,
- required Color primaryPressed,
- required Color secondary,
- required Color secondaryForeground,
- required Color secondaryPressed,
- required Color accent,
- required Color accentForeground,
- required Color destructive,
- required Color destructiveForeground,
- required Color destructivePressed,
- required Color warning,
- required Color warningForeground,
- required Color warningPressed,
- required Color success,
- required Color successForeground,
- required Color successPressed,
- required Color info,
- required Color infoForeground,
- required Color ring,
- required Color active,
- required Color background,
- required Color foreground,
- required Color muted,
- required Color mutedForeground,
- required Color card,
- required Color cardForeground,
- required Color popover,
- required Color popoverForeground,
- required Color border,
- required Color input,
- 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,
});