TypographyTokens class abstract

============================================================================= TYPOGRAPHY TOKENS

Font sizes following Material type scale with eldercare adjustments.

Rationale: Minimum 14px for body text (accessibility requirement). Eldercare apps use larger defaults than typical apps.

Constructors

TypographyTokens()

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

Constants

fontSizeDisplay → const double
24px - Display (large headings, hero text)
fontSizeDisplayLg → const double
28px - Display large
fontSizeDisplayXl → const double
32px - Display XL (page titles)
fontSizeLg → const double
16px - Large (emphasized body, button text) - MOST COMMON
fontSizeMd → const double
14px - Medium (body text minimum for accessibility) - COMMON
fontSizeSm → const double
13px - Small (secondary labels, metadata)
fontSizeXl → const double
18px - Extra large (subheadings, section titles) - COMMON
fontSizeXs → const double
11px - Extra small (captions, hints, timestamps)
fontSizeXsSm → const double
12px - Small-extra (between xs and sm)
fontSizeXxl → const double
20px - XXL (headings, card titles)
fontSizeXxs → const double
10px - Micro text (rarely used, only for dense data)
weightBold → const FontWeight
Bold weight (700) - strong emphasis
weightExtraBold → const FontWeight
Extra bold weight (800) - display text
weightMedium → const FontWeight
Medium weight (500) - slightly emphasized
weightNormal → const FontWeight
Normal weight (400) - body text
weightSemiBold → const FontWeight
Semi-bold weight (600) - headings, emphasis - MOST COMMON