ParallaxToolbarConfig

constructor(initialColor: Color, targetColor: Color, elevation: Dp, animationSpec: AnimationSpec<Color>, height: Dp = ParallaxToolbarDefaults.ToolbarHeight, alwaysElevated: Boolean = false)(source)

Parameters

height

Height of the pinned toolbar, excluding the status bar inset.

alwaysElevated

Draw the shadow while expanded too, instead of only once collapsed.