LedgerTokens class final

A ThemeTokens v2 record, baked into constants (internal/themes/<id>.g.dart, drift-gated against the JSON by the catalog's tests): both appearances, the twelve type slots and the shape. LedgerThemeData.fromTokens dresses the system in one.

Annotations

Constructors

LedgerTokens({required LedgerTokenColors light, required LedgerTokenColors dark, required LedgerTokenType giant, required LedgerTokenType hero, required LedgerTokenType display, required LedgerTokenType h1, required LedgerTokenType h2, required LedgerTokenType h3, required LedgerTokenType bodyLarge, required LedgerTokenType body, required LedgerTokenType bodySmall, required LedgerTokenType caption, required LedgerTokenType label, required LedgerTokenType mono, required LedgerTokenShape shape})
A theme record's appearances, type slots and shape.
const

Properties

body → LedgerTokenType
Body words.
final
bodyLarge → LedgerTokenType
Large body words.
final
bodySmall → LedgerTokenType
Small body words.
final
caption → LedgerTokenType
A caption.
final
dark → LedgerTokenColors
The dark appearance.
final
display → LedgerTokenType
A display title.
final
giant → LedgerTokenType
The largest display slot.
final
h1 → LedgerTokenType
The first heading.
final
h2 → LedgerTokenType
The second heading.
final
h3 → LedgerTokenType
The third heading.
final
hashCode → int
The hash code for this object.
no setterinherited
hero → LedgerTokenType
A page's hero figure.
final
label → LedgerTokenType
A control's label.
final
light → LedgerTokenColors
The light appearance.
final
mono → LedgerTokenType
Mono words: amounts, dates, numbers.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shape → LedgerTokenShape
The corner language.
final

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