ExpressiveTextTheme class

Material 3 baseline type scale (the md.sys.typescale.* tokens).

Values are the authoritative M3 (2021) metrics — identical to Flutter's own Typography.englishLike2021 and to the Compose TypeScaleTokens: per-role size, weight, tracking (letter-spacing) and line-height (as a height multiplier = lineHeight ÷ size), with TextLeadingDistribution.even so the half-leading is balanced top/bottom (the M3 / web bounding-box leading model).

Styles deliberately keep inherit: true and carry no colour: the colour is resolved from the ColorScheme by ThemeData, and the font family is applied by the app (e.g. GoogleFonts). Per-element emphasis uses EmphasizedTextTheme.

Readability ratios baked into the heights: larger type (display/headline/ title) sits at ~1.12–1.33×; body/label at ~1.33–1.5×.

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

base → const TextTheme
numericIdFeatures → const List<FontFeature>
Tabular figures + slashed zero — for numeric identifiers (plates, VINs, serial/phone numbers): stable digit width and an unambiguous zero.
slashedZeroFeature → const List<FontFeature>
A slashed zero (0O) — for typed identifiers.
tabularFigures → const List<FontFeature>
Tabular (monospaced) figures — fixed-advance digits so values that change (counters, clocks, IDs) don't reflow. Apply via ExpressiveTextStyleX.tabular.