BrandTypo class abstract

Abstract base class for defining brand-specific typography systems.

Extend this class to create consistent, brand-aligned typography that automatically adapts to your application's color scheme.

Implements the complete Material Design 3 typography scale with semantic naming conventions for maintainable design systems.

Constructors

BrandTypo()

Properties

bodyLarge TextStyle
Large body text for main content paragraphs
no setter
bodyMedium TextStyle
Medium body text for standard content and descriptions
no setter
bodySmall TextStyle
Small body text for captions, metadata, and secondary information
no setter
displayLarge TextStyle
Largest display style for hero sections and major headlines
no setter
displayMedium TextStyle
Medium display style for page headers and important titles
no setter
fontFamily String
Primary font family used throughout the application
no setter
hashCode int
The hash code for this object.
no setterinherited
labelLarge TextStyle
Large labels for buttons, navigation items, and prominent CTAs
no setter
labelMedium TextStyle
Medium labels for form fields, section headers, and hints
no setter
labelSmall TextStyle
Small labels for tags, status indicators, and compact UI elements
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
titleLarge TextStyle
Large titles for card headers, modal titles, and major sections
no setter
titleMedium TextStyle
Medium titles for app bars, dialog titles, and content sections
no setter
titleSmall TextStyle
Small titles for list items, subtitles, and tab labels
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toTextTheme(ColorScheme colorScheme) TextTheme
Converts the brand typography into a Material Design TextTheme

Operators

operator ==(Object other) bool
The equality operator.
inherited