widgets/surfaces/shared/glass_nav_pinned_host library

Classes

GlassNavActionSlot
One item's place in the morph between two routes' action clusters.
GlassNavBarGroup
One glass shell's worth of items within a cluster.
GlassNavMorphCurve
The motion of a morphing cluster: the package's bouncy spring as a curve.
GlassNavPinnedHost
Renders the pinned leading and trailing clusters above the Navigator.
GlassNavPinnedMetrics
Geometry and timing constants for the pinned chrome.
GlassNavPinnedState
The chrome to render for the current frame.

Functions

fitGlassNavStripGroups(List<GlassNavBarGroup> groups, double available) → List<GlassNavBarGroup>
Fits a strip's groups into available points of height.
groupGlassNavBarItems(List<GlassBarItem> items, {Axis axis = Axis.horizontal}) → List<GlassNavBarGroup>
Splits a cluster's items into the shells that will actually be drawn.
matchGlassNavActions(List<GlassBarActionItem> from, List<GlassBarActionItem> to, {bool anchoredAtStart = false}) → List<GlassNavActionSlot>
Pairs two routes' action items so matched ones morph in place.
matchGlassNavGroups(List<GlassNavBarGroup> from, List<GlassNavBarGroup> to, {bool anchoredAtStart = false}) → List<({GlassNavBarGroup? from, GlassNavBarGroup? to})>
Pairs two routes' groups so a shell that survives the transition morphs in place.