AppTypography class abstract final

Complete typographic scale for the design system.

Follows the Material 3 type ramp. Use AppTypography.build to produce a TextTheme for a given font family, or use the individual AppTypography style builders for one-off custom styles.

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

bodyLarge({required BuildContext context, String? fontFamily, Color? color, FontWeight? weight, double? fontSize, double? height, double? letterSpacing}) → TextStyle
Body large (16 / 24).
bodyMedium({required BuildContext context, String? fontFamily, Color? color, FontWeight? weight, double? fontSize, double? height, double? letterSpacing}) → TextStyle
Body medium (14 / 20).
bodySmall({required BuildContext context, String? fontFamily, Color? color, FontWeight? weight, double? fontSize, double? height, double? letterSpacing}) → TextStyle
Body small (12 / 16).
build({FontConfig? fontConfig, TextDirection direction = TextDirection.ltr, String? fontFamily, Color? baseColor, bool useGoogleFonts = true, double? baseFontSize}) → TextTheme
Builds a complete Material 3 TextTheme for the given font configuration.
caption({required BuildContext context, String? fontFamily, Color? color, FontWeight? weight, double? fontSize, double? height, double? letterSpacing}) → TextStyle
Caption — an alias of AppTypography.labelSmall with regular weight.
displayLarge({required BuildContext context, String? fontFamily, Color? color, FontWeight? weight, double? fontSize, double? height, double? letterSpacing}) → TextStyle
Default type scale uses the active TextTheme of context.
displayMedium({required BuildContext context, String? fontFamily, Color? color, FontWeight? weight, double? fontSize, double? height, double? letterSpacing}) → TextStyle
Display medium (45 / 52).
displaySmall({required BuildContext context, String? fontFamily, Color? color, FontWeight? weight, double? fontSize, double? height, double? letterSpacing}) → TextStyle
Display small (36 / 44).
headlineLarge({required BuildContext context, String? fontFamily, Color? color, FontWeight? weight, double? fontSize, double? height, double? letterSpacing}) → TextStyle
Headline large (32 / 40).
headlineMedium({required BuildContext context, String? fontFamily, Color? color, FontWeight? weight, double? fontSize, double? height, double? letterSpacing}) → TextStyle
Headline medium (28 / 36).
headlineSmall({required BuildContext context, String? fontFamily, Color? color, FontWeight? weight, double? fontSize, double? height, double? letterSpacing}) → TextStyle
Headline small (24 / 32).
labelLarge({required BuildContext context, String? fontFamily, Color? color, FontWeight? weight, double? fontSize, double? height, double? letterSpacing}) → TextStyle
Label large (14 / 20).
labelMedium({required BuildContext context, String? fontFamily, Color? color, FontWeight? weight, double? fontSize, double? height, double? letterSpacing}) → TextStyle
Label medium (12 / 16).
labelSmall({required BuildContext context, String? fontFamily, Color? color, FontWeight? weight, double? fontSize, double? height, double? letterSpacing}) → TextStyle
Label small (11 / 16).
titleLarge({required BuildContext context, String? fontFamily, Color? color, FontWeight? weight, double? fontSize, double? height, double? letterSpacing}) → TextStyle
Title large (22 / 28).
titleMedium({required BuildContext context, String? fontFamily, Color? color, FontWeight? weight, double? fontSize, double? height, double? letterSpacing}) → TextStyle
Title medium (16 / 24).
titleSmall({required BuildContext context, String? fontFamily, Color? color, FontWeight? weight, double? fontSize, double? height, double? letterSpacing}) → TextStyle
Title small (14 / 20).