MinimalChromeMetrics class abstract final

Minimal's chrome geometry and motion, in one place: the bars, the rows, the controls, the sheet card and the transitions, as the build spec (docs/architecture/design-systems-bench-tactile.md §6) and its reference mockups state them.

This is the system's GRAMMAR — positions, sizes, bands and timings. Colour, type faces and the corner language of ordinary surfaces are the theme's. Nothing here is a token a theme may override; the components that draw chrome read these, and pages never need to.

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

accessoryHeight → const double
The shell's accessory strip above the bar, its top hairline included.
actionBarPad → const double
The floating action bar card's vertical padding around a 40 px action.
actionBarStackScale → const double
The text scale past which the action bar stacks its summary over the action instead of squeezing both onto one line.
barActionGap → const double
Air between two bar actions.
barControl → const double
A bar icon button: a 32 px bordered square.
barCrumbGap → const double
Air between a pushed page's back button and its breadcrumb.
barExit → const Duration
The tab bar yielding to pushed depth.
barHeight → const double
The top bar's band, its 1 px bottom hairline included.
barInsetEnd → const double
The bar's trailing inset, to the last action's bordered edge.
barInsetStart → const double
The bar's leading inset (the title's edge) and its trailing inset (the last action's edge): both the page's gutter, so the bar's first and last edges stand on the body's keylines.
barTitle → const double
The root title's size (the face and weight are the theme's h2).
barTitleGap → const double
Air between the title and its mono meta, and between the back button and a pushed page's breadcrumb.
buttonPadSm → const double
A button's side padding at sm (md takes 12, lg 16 off the spacing scale).
control → const double
Control heights: a button or an input at md, sm and lg.
controlLg → const double
A large button's or input's height.
controlSm → const double
A small button's or input's height.
dialogStiffness → const double
A dialog's spring stiffness (k): within 2% of rest at fadeIn, as its 120 ms fade was (ω = 6 / 0.12 s, k = ω²).
fadeIn → const Duration
A peer replacement: a plain cross-fade.
fadeOut → const Duration
A peer replacement's outgoing fade.
fieldInset → const double
A boxed field's side inset: an input's, a search field's.
filterPad → const double
A filter pill's side padding around its label and count.
floatingAllowance → const double
The allowance a page-owned floating: slot reserves above the bottom safe area: a 40 px control on 12 px of air, with air above it.
floatingGap → const double
How far a floating control and a toast stand above whatever holds the bottom edge.
focusRing → const double
Width of the keyboard focus ring every focusable control draws, outside its own edge.
gutter → const double
The screen gutter: the side inset of a page's type and of every bar.
holdDelay → const Duration
A stepper held down: the pause before it repeats, and the repeat.
holdRepeat → const Duration
A held stepper's repeat, once it starts repeating.
iconGap → const double
Air between a control's glyph and its label: a button, a pill.
maxTextScale → const double
The largest text scale a Minimal surface lays out at: twice the platform's size. MinimalHost clamps the ambient scaler here; up to it, rows and controls grow taller with their words rather than cut them, and long words wrap or end in an ellipsis.
pillRadius → const double
The sheet header's context pill's corner radius.
pop → const Duration
A pop: the page leaving fades out the way it came.
propertyPillRadius → const double
A 28 px property or filter pill's corners — a step rounder than the sheet's context pill (pillRadius).
push → const Duration
A push: the incoming page fades in while travelling pushSlide from the trailing side; the page beneath does not move.
pushSlide → const double
How far a pushed page travels as it fades in.
routeDamping → const double
The damping ratio (ζ) of the spring ui_core's routes move on (a side sheet, a bottom sheet, a dialog): 1, critically damped, as Minimal never overshoots.
row → const double
A list row, and the dense register's.
rowCompact → const double
A list row in the dense register.
rowIconGap → const double
Air between a row's glyph, its words and its accessories: a list row, a picker or a form row.
rowStackScale → const double
The text scale from which a list row's trailing part and meta drop under its title, as iOS stacks a row's detail at its accessibility sizes: the title keeps the row's width rather than give it away.
sheetBar → const double
A sheet's header band inside the card: tall enough that the close keeps its whole 44 px touch target.
sheetIn → const Duration
A sheet rising with its scrim, and leaving.
sheetInset → const double
The modal card's inset from the screen's sides and bottom edge: the page's gutter, so a floating card starts on the page's margin, where the content under it does.
sheetOut → const Duration
A sheet leaving with its scrim.
sheetPad → const double
The card's own padding around its header, content and footer.
sheetPillPad → const double
The sheet header's context pill: its side padding and its corners.
sheetStiffness → const double
A sheet's spring stiffness (k): critically damped, within 2% of rest at sheetIn, as its 180 ms slide was (ω = 6 / 0.18 s, k = ω²).
sheetTopGap → const double
The least space a raised card leaves above itself.
stateMeasure → const double
The widest a render state's message runs before it wraps.
tabAction → const double
The shell action's square, and the width of the trailing slot it stands centred in.
tabActionSlot → const double
The width of the trailing slot the shell action stands centred in.
tabHeight → const double
The docked tab bar's band above the bottom safe area, its 1 px top hairline included.
tabIcon → const double
A tab's glyph over its label.
tabLabel → const double
A tab label's size: 11, the least any words a person reads take.
tabLabelGap → const double
Air between a tab's glyph and its label.
tabLabelLeading → const double
A tab label's line height, as a multiple of tabLabel.
toast → const Duration
How long a toast stands, without and with its one action.
toastActionPad → const double
A toast action's padding above and below its label.
toastPad → const double
A toast's message padding above and below, and its action's.
toastWithAction → const Duration
How long a toast with an action stands: long enough to reach it.