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 extraLight, required TextStyle normal, required TextStyle medium, required TextStyle semiBold, required TextStyle bold, required TextStyle extraBold, 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 extraLight = const TextStyle(fontWeight: FontWeight.w200), 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 extraBold = const TextStyle(fontWeight: FontWeight.w800), 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

Properties

base TextStyle
final
black TextStyle
final
blockQuote TextStyle
final
bold TextStyle
final
extraBold TextStyle
final
extraLight TextStyle
final
h1 TextStyle
final
h2 TextStyle
final
h3 TextStyle
final
h4 TextStyle
final
hashCode int
The hash code for this object.
no setteroverride
inlineCode TextStyle
final
italic TextStyle
final
large TextStyle
final
lead TextStyle
final
light TextStyle
final
medium TextStyle
final
mono TextStyle
final
normal TextStyle
final
p TextStyle
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sans TextStyle
final
semiBold TextStyle
final
small TextStyle
final
textLarge TextStyle
final
textMuted TextStyle
final
textSmall TextStyle
final
thin TextStyle
final
x2Large TextStyle
final
x3Large TextStyle
final
x4Large TextStyle
final
x5Large TextStyle
final
x6Large TextStyle
final
x7Large TextStyle
final
x8Large TextStyle
final
x9Large TextStyle
final
xLarge TextStyle
final
xSmall TextStyle
final

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? extraLight, TextStyle? normal, TextStyle? medium, TextStyle? semiBold, TextStyle? bold, TextStyle? extraBold, 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

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

lerp(Typography a, Typography b, double t) Typography