Package-level declarations
Types
How the expanded header height is determined.
Options forwarded to the LazyColumn used by ParallaxContent.Lazy.
Receiver of the actions slot: a RowScope that also exposes the toolbar scope.
Body spacing and background.
The scrollable body of a ComposeParallaxToolbarLayout. The lambda receives true once the toolbar is collapsed.
Header appearance and initial state.
Strings the layout exposes to accessibility services. Provide translated values.
Title and subtitle placement and collapse behavior.
Toolbar colors, elevation and height.
Default values and factory methods for ComposeParallaxToolbarLayout.
Measured geometry of a ComposeParallaxToolbarLayout, in pixels, updated on every layout pass. All values are 0 until the layout has been measured once; check isMeasured.
Receiver of every content slot of ComposeParallaxToolbarLayout. Slots still receive the collapsed flag as their parameter; this scope adds the continuous collapseFraction for effects that should follow the scroll, and modifiers that give individual elements their own collapse behavior.
Hoisted state of a ComposeParallaxToolbarLayout: observe how far the toolbar has collapsed and drive it programmatically.
How the header and toolbar react to the body scrolling.
Functions
A collapsing toolbar with a parallax header for Compose Multiplatform.
The 1.x entry point, kept so existing call sites compile. It wraps content or lazyContent into a ParallaxContent and scroll into a ParallaxToolbarState, then delegates to the main overload. It will be removed in 3.0.
Creates and remembers a ParallaxToolbarState. Pass your own scrollState or lazyListState to share scroll position with other components; otherwise fresh ones are remembered.