Typography class
Constructors
-
Typography({required TextStyle sans, required TextStyle mono, required TextStyle xSmall, required TextStyle small, required TextStyle base, required TextStyle large, required TextStyle xLarge, required TextStyle x2Large, required TextStyle x3Large, required TextStyle x4Large, required TextStyle x5Large, required TextStyle x6Large, required TextStyle x7Large, required TextStyle x8Large, required TextStyle x9Large, required TextStyle thin, required TextStyle light, required TextStyle normal, required TextStyle medium, required TextStyle semiBold, required TextStyle bold, required TextStyle black, required TextStyle italic, required TextStyle h1, required TextStyle h2, required TextStyle h3, required TextStyle h4, required TextStyle p, required TextStyle blockQuote, required TextStyle inlineCode, required TextStyle lead, required TextStyle textLarge, required TextStyle textSmall, required TextStyle textMuted})
-
const
-
Typography.geist({TextStyle sans = const TextStyle(fontFamily: 'GeistSans'), TextStyle mono = const TextStyle(fontFamily: 'GeistMono'), TextStyle xSmall = const TextStyle(fontSize: 12), TextStyle small = const TextStyle(fontSize: 14), TextStyle base = const TextStyle(fontSize: 16), TextStyle large = const TextStyle(fontSize: 18), TextStyle xLarge = const TextStyle(fontSize: 20), TextStyle x2Large = const TextStyle(fontSize: 24), TextStyle x3Large = const TextStyle(fontSize: 30), TextStyle x4Large = const TextStyle(fontSize: 36), TextStyle x5Large = const TextStyle(fontSize: 48), TextStyle x6Large = const TextStyle(fontSize: 60), TextStyle x7Large = const TextStyle(fontSize: 72), TextStyle x8Large = const TextStyle(fontSize: 96), TextStyle x9Large = const TextStyle(fontSize: 144), TextStyle thin = const TextStyle(fontWeight: FontWeight.w100), TextStyle light = const TextStyle(fontWeight: FontWeight.w300), TextStyle normal = const TextStyle(fontWeight: FontWeight.w400), TextStyle medium = const TextStyle(fontWeight: FontWeight.w500), TextStyle semiBold = const TextStyle(fontWeight: FontWeight.w600), TextStyle bold = const TextStyle(fontWeight: FontWeight.w700), TextStyle black = const TextStyle(fontWeight: FontWeight.w900), TextStyle italic = const TextStyle(fontStyle: FontStyle.italic), TextStyle h1 = const TextStyle(fontSize: 36, fontWeight: FontWeight.w800), TextStyle h2 = const TextStyle(fontSize: 30, fontWeight: FontWeight.w600), TextStyle h3 = const TextStyle(fontSize: 24, fontWeight: FontWeight.w600), TextStyle h4 = const TextStyle(fontSize: 18, fontWeight: FontWeight.w600), TextStyle p = const TextStyle(fontSize: 16, fontWeight: FontWeight.w400), TextStyle blockQuote = const TextStyle(fontSize: 16, fontWeight: FontWeight.w400, fontStyle: FontStyle.italic), TextStyle inlineCode = const TextStyle(fontFamily: 'GeistMono', fontSize: 14, fontWeight: FontWeight.w600), TextStyle lead = const TextStyle(fontSize: 20), TextStyle textLarge = const TextStyle(fontSize: 20, fontWeight: FontWeight.w600), TextStyle textSmall = const TextStyle(fontSize: 14, fontWeight: FontWeight.w500), TextStyle textMuted = const TextStyle(fontSize: 14, fontWeight: FontWeight.w400)})
-
const
Methods
-
copyWith({TextStyle? sans, TextStyle? mono, TextStyle? xSmall, TextStyle? small, TextStyle? base, TextStyle? large, TextStyle? xLarge, TextStyle? x2Large, TextStyle? x3Large, TextStyle? x4Large, TextStyle? x5Large, TextStyle? x6Large, TextStyle? x7Large, TextStyle? x8Large, TextStyle? x9Large, TextStyle? thin, TextStyle? light, TextStyle? normal, TextStyle? medium, TextStyle? semiBold, TextStyle? bold, TextStyle? black, TextStyle? italic, TextStyle? h1, TextStyle? h2, TextStyle? h3, TextStyle? h4, TextStyle? p, TextStyle? blockQuote, TextStyle? inlineCode, TextStyle? lead, TextStyle? textLarge, TextStyle? textSmall, TextStyle? textMuted})
→ Typography
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
scale(double factor)
→ Typography
-
-
toString()
→ String
-
A string representation of this object.
override