pub fn LiquidNavBar(
__arg0: Modifier,
__arg1: LiquidNavBarSpec,
__arg2: ScrollState,
leading: impl FnMut() + 'static,
trailing: impl FnMut() + 'static,
)Expand description
A large-title navigation bar driven by the content’s ScrollState
(offset 0 = top). leading/trailing compose the bar buttons.
The bar installs a settle policy on the scroll so it can never rest inside
the large-title collapse band — releasing (or wheel-idling) mid-band snaps
to fully expanded or fully collapsed, exactly like UINavigationBar. The
large title composes UNDER the glass band, so mid-collapse it slides
beneath the frost instead of floating readable next to the inline title.
Place the bar after the scrolling content inside a Box so its glass
samples the content sliding underneath.