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
The narrowest window the shell shows the rail expanded in, labels beside the icons: Material's large window class (1200dp, m3.material.io, "Window size classes": "expanded navigation rail" for large and extra-large windows). Below it the rail stays collapsed, so an expanded window (840 to 1200dp) keeps its room for two panes.
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
The floating action button's gap to the screen's end edge and to the bar below it (Scaffold.kt FabSpacing; behavior.yaml).
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
The narrowest window the shell stands the navigation rail in instead of the bar (CONTRACT §4.2: "rail ≥ 600dp"): Material's medium window class, androidx.window WindowSizeClass.WIDTH_DP_MEDIUM_LOWER_BOUND (m3.material.io, "Window size classes"). The material3 jar states no breakpoint, so it is typed here, cited.
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
The space above and below the drag handle (SheetDefaults.kt DragHandleVerticalPadding; behavior.yaml).
sheetHandleWidth → const double
The drag handle's width (SheetBottomTokens.DockedDragHandleWidth).
sheetPartialHeightFraction → const double
A modal sheet at its first (partial) detent, as a share of the screen's height (BottomSheet.kt's partially expanded anchor; behavior.yaml).