LedgerAmountSize enum

How large a ledger amount stands.

Inheritance
Available extensions

Values

row → const LedgerAmountSize

14 on 20, medium: a row's amount.

const LedgerAmountSize(14, FontWeight.w500)
total → const LedgerAmountSize

15 on 20, bold: a statement's total (.total .amt). The source asks 600 of a mono it loads at 400 and 500 only, and the browser thickens the 500 cut; Flutter thickens a cut only for a weight 200 over its own, so the total asks 700 of the same 500.

const LedgerAmountSize(LedgerChromeMetrics.totalAmount, FontWeight.w700)
small → const LedgerAmountSize

13 on 20, medium: an option's amount in a menu, a tile's.

const LedgerAmountSize(13, FontWeight.w500)
today → const LedgerAmountSize

12 on 20, medium: a holding's change today (.holding .h-today .amt).

const LedgerAmountSize(12, FontWeight.w500)

Properties

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
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → double
Its size in the quire preset (another scales it with its amount).
final
weight → FontWeight
Its weight.
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

Constants

values → const List<LedgerAmountSize>
A constant List of the values in this enum, in order of their declaration.