TypographyData class

Available extensions
Annotations

Constructors

TypographyData({required String fontFamily, required String? bodyFontFamily})
const
TypographyData.fallback()
factory
TypographyData.fromJson(Map<String, dynamic> json)
factory

Properties

base1 → TextStyle

Available on TypographyData, provided by the TypographyDataExtension extension

no setter
base2 → TextStyle

Available on TypographyData, provided by the TypographyDataExtension extension

no setter
body1 → TextStyle

Available on TypographyData, provided by the TypographyDataExtension extension

no setter
body2 → TextStyle

Available on TypographyData, provided by the TypographyDataExtension extension

no setter
bodyFontFamily → String?
final
caption1 → TextStyle

Available on TypographyData, provided by the TypographyDataExtension extension

no setter
caption2 → TextStyle

Available on TypographyData, provided by the TypographyDataExtension extension

no setter
fontFamily → String
final
hashCode → int
The hash code for this object.
no setterinherited
headline1 → TextStyle

Available on TypographyData, provided by the TypographyDataExtension extension

no setter
headline2 → TextStyle

Available on TypographyData, provided by the TypographyDataExtension extension

no setter
headline3 → TextStyle

Available on TypographyData, provided by the TypographyDataExtension extension

no setter
headline4 → TextStyle

Available on TypographyData, provided by the TypographyDataExtension extension

no setter
headline5 → TextStyle

Available on TypographyData, provided by the TypographyDataExtension extension

no setter
headline6 → TextStyle

Available on TypographyData, provided by the TypographyDataExtension extension

no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title1 → TextStyle

Available on TypographyData, provided by the TypographyDataExtension extension

no setter
title2 → TextStyle

Available on TypographyData, provided by the TypographyDataExtension extension

no setter
title3 → TextStyle

Available on TypographyData, provided by the TypographyDataExtension extension

no setter

Methods

copyWith({String? fontFamily, String? bodyFontFamily}) → 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.
inherited