LedgerChromeMetrics class abstract final

The chrome's measures, by the part that draws them.

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

Static Methods

calendarDayDiameter(double cellWidth, double digitSize) → double
Diameter of the selected day, with room for two digits and a gap between adjacent days.

Constants

accessoryGap → const double
An accessory the shell stands over the tab bar rides 8 over it. DERIVED (the source has none).
avatar → const double
.avatar: 36 round.
brandGap → const double
The brand mark's distance from the word.
brandMark → const double
.brand: the mark 24, 10 from the word; the sidebar's word at 30.
button → const double
.btn: 48 tall, padded 22, its glyph 18 and 10 from its words.
buttonGap → const double
A button's glyph distance from its words.
buttonGlyph → const double
A button's glyph size.
buttonPad → const double
A button's side padding.
buttonRowGap → const double
.btn-row: two acts side by side 12 apart.
cardFigureWide → const double
A card's balance figure on the desktop.
centsDrop → const double
.fig .ct: margin .07em over and .1em before, padded .07em under its 1 px rule.
centsGap → const double
The space before the figure's cents, of their own size.
centsRule → const double
The rule under the figure's cents.
centsUnder → const double
The padding under the figure's cents, over their rule, of their own size.
crumbGap → const double
The crumb's chevron's distance from its words.
crumbGlyph → const double
.crumb: its chevron 15, 4 from its words, hung 4 into the gutter.
crumbHang → const double
How far the crumb hangs into the gutter.
crumbToMeta → const double
The desktop's crumb stands in the eyebrow's line (DERIVED, one page frame: the source set it over the meta, 6 above it and 10 over the title, so a pushed page's title stood 8 under a tab's); a meta with it follows on that line, 6 past a faint dot.
currencyDrop → const double
.fig .cur: margin .07em over and .08em after (of its own size).
currencyGap → const double
The space after the figure's currency sign, of its own size.
currencyShare → const double
.fig .cur, .fig .ct: the $ and the cents at .34 of the figure.
densityFloor → const double
No control's face shorter than this at any density: a button's, an icon button's, a sign-in's, the desk search's.
deskSearchHeight → const double
The desktop masthead's search height.
deskSearchText → const double
The desktop masthead's search words' size.
deskSearchWidth → const double
The desktop masthead's search width.
deskToolsGap → const double
.masthead .tools 12 apart; .masthead .search 264 by 40, its words 14; the phone's .tools 4 apart.
dialogMaxShare → const double
The largest share of the window the desktop dialog stands.
dialogNarrow → const double
The desktop dialog's width for a dialog of acts.
dialogPad → const double
The desktop dialog's padding at its sides and under.
dialogWidth → const double
.modal-sheet on the desktop: a dialog 480 wide (440 for a dialog of acts), at most 84% of the window, padded 32 at its sides and under.
disabledOpacity → const double
.btn[disabled]: opacity .38.
disc → const double
.tab-move .move: the 52 green disc, ringed 5 in the raised paper, standing 2 into the gap under it.
discRing → const double
The raised-paper ring round the act's disc.
discSink → const double
How far the act's disc stands into the gap under it.
dot → const double
.icon-btn .dot: 9 across, 8 from the top and 9 from the end, ringed 2 in the paper.
dotEnd → const double
An icon button's dot's distance from its end.
dotRing → const double
The paper ring round an icon button's dot.
dotTop → const double
An icon button's dot's distance from its top.
doubleRule → const double
.double: two ink rules 4 apart outside to outside; .total 14 under them, its amount 15 bold.
emptyActTop → const double
An empty state's act distance under its body.
emptyBodyLine → const double
An empty state's body line height.
emptyBodyTop → const double
An empty state's body distance under its title.
emptyEnd → const double
The blank ledger page's padding at its end.
emptyFoot → const double
The blank ledger page's padding under its content.
emptyLines → const double
The distance between the blank ledger page's ruled lines.
emptyMarginRule → const double
The blank ledger page's first margin rule, from its start.
emptyMarginRule2 → const double
The blank ledger page's second margin rule, from its start.
emptyStart → const double
The blank ledger page's padding at its start, clear of its margin rules.
emptyTitle → const double
An empty state's title size.
emptyTitleLine → const double
An empty state's title line height.
emptyTitleTop → const double
.empty-t 18 under the seal, set 32 on 34; .empty-s 10 under it, 15 on 22; the act 22 under that.
emptyTop → const double
.empty: the blank ledger page, padded 26 over, 20 at its end, 24 under and 34 at its start (clear of its double margin rule at 18 and 22); a ruled line every 32.
entryFigure → const double
A review's amount (.amount-ro .fig): 56 on a phone, 72 on the desktop.
entryFigureWide → const double
A review's amount on the desktop.
firstSectionGap → const double
The first section's distance under the masthead.
focusGap → const double
The gap between the focus double rule's two lines; the rule stands twice this under its control.
focusRing → const double
Focus: the accountant's double rule in the ink under the control, each of its two lines this thick. DERIVED (the source draws the browser's own).
footerFoot → const double
A footer band's room under its acts.
footerTop → const double
A footer band's room: 16 over its acts, 24 under them. DERIVED (the source stands its acts in the page).
gripHeight → const double
The sheet grip's height.
gripTop → const double
The sheet grip's distance under the sheet's top.
gripWidth → const double
.grip: 36 by 4, 8 under the sheet's top (none on the desktop).
gutter → const double
--pad: the page gutter, 24 on a phone and 56 from 1024.
gutterWide → const double
The page gutter from 1024.
headAfter → const double
The first thing after a head stands this far under it.
headGap → const double
The distance between a head's rubric and its note.
headTop → const double
.head: 11 under its ink rule, its rubric and note 16 apart; the first thing after it 8 under.
heroFigureTop → const double
.hero .fig: 26 under what stands over it on a phone, 30 on the desktop.
heroFigureTopWide → const double
The hero figure's distance under what stands over it on the desktop.
heroFigureWide → const double
The figure's sizes on the desktop (.fig is 88 on a phone, .fig-m 44): a page's head 152 (.hero .fig, .spent-top .fig), a transaction's receipt 120 (.receipt .fig), a card's balance 72 (.card-sum .fig), a section's 56 (.fig-m).
iconButton → const double
.icon-btn: 40 round, its glyph 20; .back and .ring-btn 36 with a rule round them, their glyph 18.
iconGlyph → const double
An icon button's glyph size.
leaderCentre → const double
Where each leader dot is centred in its pitch.
leaderDot → const double
The radius to which a leader dot is solid.
leaderFade → const double
The radius by which a leader dot has faded out.
leaderHeight → const double
The dot leader's height.
leaderInset → const double
The dot leader's distance from the words at its ends.
leaderMin → const double
.leader: at least 16 long, 3 tall, 8 from its ends; dots 5 apart, each centred 1.5 in, solid to .85 and gone by 1.15.
leaderPitch → const double
The distance between the dot leader's dots.
linkGap → const double
A head link's chevron distance from its words.
linkGlyph → const double
.head-link: its chevron 14, 2 from its words, its ink ending on the column's end (the pilot hung its box 3 past it).
loadingLeader → const double
The loading leader's length: its dots draw in across it, one by one.
loadingRing → const double
A kit's waiting ring: DERIVED (the source draws no wait).
loadingStroke → const double
A kit's waiting ring's stroke.
mastFootWide → const double
The room under the masthead on the desktop.
mastToolsGap → const double
The distance between the masthead's title and its tools, at their feet.
mastTop → const double
.masthead: 24 over it on a phone; on the desktop 36 under it, its title and its tools 24 apart at their feet.
minHit → const double
The 44 floor a target is grown to when its drawing is smaller.
.nav: links 2 apart, each 40 tall, padded 12, its glyph 18 and 12 from its words.
A side bar link's glyph size.
A side bar link's glyph distance from its words.
A side bar link's height.
A side bar link's padding.
.main: the room under the last section, 40 under a tab's page, 48 under a pushed page (.is-detail), 72 on the desktop; 40 over the desktop's masthead.
pageFootPushed → const double
The room under a pushed page's last section.
pageFootWide → const double
The room under the last section on the desktop.
pageTopWide → const double
The room over the desktop's masthead.
pressSink → const double
How far a pressed face sinks into the paper, like a stamp.
profileChevron → const double
The side bar profile's chevron size.
profileGap → const double
The distance between the side bar profile's parts.
profileSide → const double
The side bar profile's side padding, on the nav's inner keyline.
profileTop → const double
.side-profile: padded 16 over (on the side bar's inner keyline at its sides), a rule over it, its parts 12 apart, its chevron 16.
quietButton → const double
.btn-quiet: 32 tall, padded 12 (13 in the source), its glyph 15 and 6 from its words.
quietGap → const double
A small button's glyph distance from its words.
quietGlyph → const double
A small button's glyph size.
quietPad → const double
A small button's side padding.
receiptFigureWide → const double
A transaction receipt's figure on the desktop.
ringButton → const double
A ringed button's diameter (the back and the outlined icon button).
ringGlyph → const double
A ringed button's glyph size.
seal → const double
.seal: 112 round, pressed 7° off square (6° the other way over, 5° in ink); its words 7.5 on 10 tracked .2em, 19 on 17 italic, 8.5 on 10 mono; the over and ink seals' middle line 24 on 20 and 24 on 21.
sealTurn → const double
The seal's turn off square, in degrees.
sealTurnInk → const double
The ink seal's turn off square, in degrees.
sealTurnOver → const double
The over seal's turn off square, in degrees.
searchGap → const double
A page's search field's glyph distance from its words.
searchGlyph → const double
A page's search field's glyph size.
searchHeight → const double
.search: 46 tall on a page, padded 16, its glyph 18 and 10 from its words.
searchPad → const double
A page's search field's side padding.
sectionFigureWide → const double
A section's figure on the desktop.
sectionGap → const double
.cell and .cell-first: a section 48 under the one before (56 on the desktop), the first 28 under the masthead.
sectionGapWide → const double
A section's distance under the one before on the desktop.
sheetBodyTop → const double
.sheet-body 8 under the head; .sheet-foot 20 over the acts.
sheetCloseHang → const double
How far the sheet's close hung into the gutter, before 0.2.0.
sheetFoot → const double
A phone sheet's room under its content.
sheetFootTop → const double
The room over a sheet's acts.
sheetHeadFoot → const double
The room under the sheet head's title.
sheetHeadGap → const double
The distance between the sheet head's title and its close.
sheetHeadTop → const double
.sheet-head: 14 over its title (26 on the desktop), 12 under, an ink rule under it; its title and close 12 apart; .sheet-x hung 6 into the gutter.
sheetHeadTopWide → const double
The room over the sheet head's title on the desktop.
sheetMaxShare → const double
.modal-sheet on a phone: at most 90% of the window, padded 24 at its sides and 32 under.
sideAct → const double
.btn-move: 44 tall, its words 14, its glyph 18 and 10 from its words; when current, a 3 ring of the sidebar's paper and a 1 green ring past it.
sideActRing → const double
The green ring round the current side bar act.
sideActRingGap → const double
The gap between the current side bar act and its green ring.
sideActText → const double
The side bar act's words' size.
sideBrandInset → const double
The inset of the side bar's brand, on the nav's inner keyline.
sideGap → const double
The distance between the side bar's parts.
sidePad → const double
The side bar's padding at its sides and foot.
sideTop → const double
.sidebar: padded 30 over, 20 at its sides and foot, its parts 28 apart. Its faces (the act, the chosen row, the rule) stand on its column; the mark, the nav glyphs and the avatar on one inner keyline, the nav's 12 inside it (the source pads the brand and the profile 8, so the mark, the glyphs and the avatar stood on three lines).
sideWidth → const double
.app: the sidebar's column 248 wide, a rule down its end.
tabBarFoot → const double
The tab bar's room under its tabs, over the home indicator.
tabBarHeight → const double
.tabbar: 84 tall, padded 8 at its sides and 22 under its tabs (over the home indicator), the raised paper (the source's frost laid opaque), a rule over it.
tabBarSide → const double
The tab bar's side padding.
tabGap → const double
The distance between a tab's glyph and its label.
tabGlyph → const double
.tab: glyph 22, its parts 6 apart; the tick 4 across, drawn 2 up into the gap above it.
tick → const double
The current tab's tick, across.
tickLift → const double
How far the tick is drawn up into the gap above it.
titleGap → const double
.greeting, .title-l: the title 6 under the meta (8 on the desktop, where it sets at 40).
titleGapWide → const double
The title's distance under the meta on the desktop.
titleWide → const double
The masthead title's size on the desktop.
toastAct → const double
The toast act's height.
toastActPad → const double
The toast act's padding.
toastDwell → const Duration
How long a toast stays: 3.2 s, 5.6 s with an act to reach for; it rises 12 as it comes. DERIVED (the source's toast stays until closed).
toastDwellAction → const Duration
How long a toast with an act stays.
toastEdgeWide → const double
The toast's distance from the window's end and foot on the desktop.
toastFoot → const double
The toast's distance over the window's foot.
toastGap → const double
The distance between the toast's parts.
toastGlyph → const double
The glyph in the toast's mark.
toastMark → const double
The toast's round mark's diameter.
toastMinHeight → const double
.toast: at least 56 tall, padded 10 (14 at its start), its parts 12 apart; .toast-ic 28 round, its glyph 15; .toast-act 36 tall, padded 14.
toastOverBar → const double
The toast's distance over a tab's page's foot, clearing the tab bar.
toastPad → const double
The toast's padding.
toastRise → const double
How far a toast rises as it comes.
toastSide → const double
.toast: 16 from the window's sides and 24 over its foot (96 over a tab's page, clearing the tab bar); on the desktop 32 from the end and the foot, 380 wide.
toastStart → const double
The toast's padding at its start.
toastWidth → const double
The toast's width on the desktop.
toolsGap → const double
The phone's masthead tools' distance apart.
topBarHeight → const double
.topbar: 60 tall, the page's paper (the source's frost laid opaque), a hairline under it; its faces on the page's 24 gutter at both sides, a detail's too (the source pads 16 at its end and on a detail, which set the avatar and the way back 8 off the page's column).
topBarSide → const double
The top bar's side padding, on the page's gutter.
topBarSlot → const double
.topbar-slot: the empty 36 that balances a detail's back.
totalAmount → const double
A total's amount size.
totalTop → const double
A total's distance under its double rule.
wordmarkWide → const double
The side bar's wordmark size.