Typography class

Constructors

Typography({required FontBasics fontBasics, required FontStyle heading, required FontStyle name, required FontStyle title1, required FontStyle title2, required FontStyle subtitle1, required FontStyle subtitle2, required FontStyle text1, required FontStyle text2, required FontStyle caption1, required FontStyle caption2, required FontStyle body})
Typography.fromDefault({FontBasics? fontBasics, String? fontFamily, FontWeight? fontWeightRegular, FontWeight? fontWeightMedium, FontStyle? heading, FontStyle? name, FontStyle? title1, FontStyle? title2, FontStyle? subtitle1, FontStyle? subtitle2, FontStyle? text1, FontStyle? text2, FontStyle? caption1, FontStyle? caption2, FontStyle? body})
Should be used to make custom themes
factory

Properties

body FontStyle
getter/setter pair
caption1 FontStyle
getter/setter pair
caption2 FontStyle
getter/setter pair
fontBasics FontBasics
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
heading FontStyle
getter/setter pair
name FontStyle
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitle1 FontStyle
getter/setter pair
subtitle2 FontStyle
getter/setter pair
text1 FontStyle
getter/setter pair
text2 FontStyle
getter/setter pair
title1 FontStyle
getter/setter pair
title2 FontStyle
getter/setter pair

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