parallax
open fun Modifier.parallax(ratio: Float = ParallaxToolbarDefaults.HeaderParallaxMultiplier): Modifier(source)
Moves the element up by ratio of the collapse distance as the header collapses. 0f keeps it still, 1f moves it with the body. Pair with headerConfig(parallaxMultiplier = 0f) when elements should each set their own ratio.