LedgerFigureSize enum
How large an engraved figure stands, on a phone and on the desktop, as
the source sizes .fig where each page sets it. The sizes are the
quire preset's; another preset scales them with its figure.
Values
- page → const LedgerFigureSize
-
88 on both: a page's figure that does not grow (a statement's).
const LedgerFigureSize(88, 88) - hero → const LedgerFigureSize
-
88, 152 on the desktop: a page's head (a balance, a month's spending).
const LedgerFigureSize(88, LedgerChromeMetrics.heroFigureWide) - receipt → const LedgerFigureSize
-
88, 120 on the desktop: a transaction's receipt.
const LedgerFigureSize(88, LedgerChromeMetrics.receiptFigureWide) - card → const LedgerFigureSize
-
88, 72 on the desktop: a card's balance beside its card.
const LedgerFigureSize(88, LedgerChromeMetrics.cardFigureWide) - entry → const LedgerFigureSize
-
56, 72 on the desktop: an amount under review before it moves.
const LedgerFigureSize(LedgerChromeMetrics.entryFigure, LedgerChromeMetrics.entryFigureWide) - section → const LedgerFigureSize
-
44, 56 on the desktop (
.fig-m): a section's figure.const LedgerFigureSize(44, LedgerChromeMetrics.sectionFigureWide) - small → const LedgerFigureSize
-
28 on a 30 line (
.fig-s): a figure in a row of facts.const LedgerFigureSize(28, 28)
Properties
- desk → double
-
Its size from 1024.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - phone → double
-
Its size on a phone.
final
- 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
-
styleIn(
LedgerThemeData t, {required bool wide}) → TextStyle -
Its style in
t: the figure's own step for small, else the theme's figure (or a section's) grown to the size. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
LedgerFigureSize> - A constant List of the values in this enum, in order of their declaration.