ThemeTypography constructor

const ThemeTypography({
  1. String fontFamily = 'system-ui, sans-serif',
  2. String monoFamily = 'ui-monospace, SFMono-Regular, Menlo, Monaco, monospace',
  3. double xs = 12,
  4. double sm = 14,
  5. double md = 16,
  6. double lg = 18,
  7. double xl = 20,
  8. double xl2 = 24,
  9. double xl3 = 32,
  10. double xl4 = 40,
  11. double xl5 = 48,
  12. double xl6 = 56,
  13. double xl7 = 64,
  14. double xl8 = 96,
  15. double xl9 = 128,
  16. int weightRegular = 400,
  17. int weightMedium = 500,
  18. int weightSemiBold = 600,
  19. int weightBold = 700,
  20. Map<String, String> custom = const {},
})

Implementation

const ThemeTypography({
  this.fontFamily = 'system-ui, sans-serif',
  this.monoFamily = 'ui-monospace, SFMono-Regular, Menlo, Monaco, monospace',
  this.xs = 12,
  this.sm = 14,
  this.md = 16,
  this.lg = 18,
  this.xl = 20,
  this.xl2 = 24,
  this.xl3 = 32,
  this.xl4 = 40,
  this.xl5 = 48,
  this.xl6 = 56,
  this.xl7 = 64,
  this.xl8 = 96,
  this.xl9 = 128,
  this.weightRegular = 400,
  this.weightMedium = 500,
  this.weightSemiBold = 600,
  this.weightBold = 700,
  this.custom = const {},
});