GetFont class

Font extension

Default material specs:

NAME         SIZE  WEIGHT  SPACING
headline1    96.0  light   -1.5
headline2    60.0  light   -0.5
headline3    48.0  regular  0.0
headline4    34.0  regular  0.25
headline5    24.0  regular  0.0
headline6    20.0  medium   0.15
subtitle1    16.0  regular  0.15
subtitle2    14.0  medium   0.1
bodyText1    16.0  regular  0.5
bodyText2    14.0  regular  0.25
button       14.0  medium   1.25
caption      12.0  regular  0.4
overline     10.0  regular  1.5

"light" = `FontWeight.w300`
"regular" = `FontWeight.w400`
"medium" = `FontWeight.w500`

Constructors

GetFont()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

textTheme({String? fontFamily}) TextTheme

Constants

avenirNext → const String
dietDidot → const String
stoneSerif → const String