TypographyData class

Per-style font-size overrides for Typography.

Every field is nullable: a null field means no override — the text widget falls back to the value defined in Theme.of(context).textTheme. Non-null fields replace the corresponding theme size.

Constructors

TypographyData({double? headlineLarge, double? headlineMedium, double? headlineSmall, double? titleLarge, double? titleMedium, double? titleSmall, double? bodyLarge, double? bodyMedium, double? bodySmall, double? labelLarge, double? labelMedium, double? labelSmall})
const

Properties

bodyLarge double?
final
bodyMedium double?
final
bodySmall double?
final
hashCode int
The hash code for this object.
no setteroverride
headlineLarge double?
final
headlineMedium double?
final
headlineSmall double?
final
labelLarge double?
final
labelMedium double?
final
labelSmall double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
titleLarge double?
final
titleMedium double?
final
titleSmall double?
final

Methods

merge(TypographyData other) TypographyData
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.
override