TypographyExtension class

Inheritance
Annotations

Constructors

TypographyExtension({required TextStyle? headingBold, required TextStyle? headingLight, required TextStyle? headingBold1, required TextStyle? headingLight1, required TextStyle? headingBold2, required TextStyle? headingLight2, required TextStyle? titleBold, required TextStyle? titleLight, required TextStyle? bodyBold1, required TextStyle? bodyLight1, required TextStyle? bodyBold2, required TextStyle? bodyLight2, required TextStyle? captionBold, required TextStyle? captionLight, required TextStyle? tinyBold})
const

Properties

bodyBold1 → TextStyle?
final
bodyBold2 → TextStyle?
final
bodyLight1 → TextStyle?
final
bodyLight2 → TextStyle?
final
captionBold → TextStyle?
final
captionLight → TextStyle?
final
hashCode → int
The hash code for this object.
no setterinherited
headingBold → TextStyle?
final
headingBold1 → TextStyle?
final
headingBold2 → TextStyle?
final
headingLight → TextStyle?
final
headingLight1 → TextStyle?
final
headingLight2 → TextStyle?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tinyBold → TextStyle?
final
titleBold → TextStyle?
final
titleLight → TextStyle?
final
type → Object
The extension's type.
no setterinherited

Methods

copyWith({TextStyle? bodyLight1}) → TypographyExtension
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<TypographyExtension>? other, double t) → ThemeExtension<TypographyExtension>
Linearly interpolate with another ThemeExtension object.
override
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