ExpressiveChromeMetrics class abstract final

Expressive's chrome geometry, in logical pixels (dp).

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

expandedRailMinWindowWidth → const double
Smallest window width that expands the rail to show labels beside its icons (1200 dp).
fabClearance → const double
What the floating action button takes above the bar on a phone: its side and its gap to the bar (fabSize + fabMargin), part of the shell's allowance.
fabCornerRadius → const double
The floating action button's corner: FabBaselineTokens.ContainerShape is ShapeKeyTokens.CornerLarge, whose corner is ShapeTokens.CornerValueLarge.
fabMargin → const double
Gap between a floating action button and the screen edge or bottom bar.
fabSize → const double
The floating action button's side (FabBaselineTokens.ContainerHeight, ContainerWidth).
margin → const double
The screen's side margin on a compact window (16dp, space200).
The flexible navigation bar's height above the system inset (NavigationBarTokens.ContainerHeight, which ShortNavigationBar takes as its height).
A navigation item's icon (NavigationBarVerticalItemTokens.IconSize).
The selected navigation item's indicator height (NavigationBarVerticalItemTokens.ActiveIndicatorHeight).
The selected navigation item's indicator width (NavigationBarVerticalItemTokens.ActiveIndicatorWidth).
railMinWindowWidth → const double
Smallest window width that uses a navigation rail (600 dp).
railWidth → const double
The collapsed navigation rail's width (NavigationRailCollapsedTokens.ContainerWidth).
scrimOpacity → const double
The scrim's opacity over the page (ScrimTokens.ContainerOpacity).
sheetCornerRadius → const double
A modal bottom sheet's top corners: SheetBottomTokens.DockedContainerShape is ShapeKeyTokens.CornerExtraLargeTop, whose top corners are ShapeTokens.CornerValueExtraLarge.
sheetHandleHeight → const double
The drag handle's height (SheetBottomTokens.DockedDragHandleHeight).
sheetHandlePadding → const double
Vertical padding on each side of a bottom sheet’s drag handle.
sheetHandleWidth → const double
The drag handle's width (SheetBottomTokens.DockedDragHandleWidth).
sheetPartialHeightFraction → const double
Fraction of screen height a sheet uses when partially expanded.