Parallax Toolbar Config
class ParallaxToolbarConfig(val initialColor: Color, val targetColor: Color, val elevation: Dp, val animationSpec: AnimationSpec<Color>, val height: Dp = ParallaxToolbarDefaults.ToolbarHeight, val alwaysElevated: Boolean = false)(source)
Toolbar colors, elevation and height.
Parameters
height
Height of the pinned toolbar, excluding the status bar inset.
always Elevated
Draw the shadow while expanded too, instead of only once collapsed.
Properties
Functions
Link copied to clipboard
fun copy(initialColor: Color = this.initialColor, targetColor: Color = this.targetColor, elevation: Dp = this.elevation, animationSpec: AnimationSpec<Color> = this.animationSpec, height: Dp = this.height, alwaysElevated: Boolean = this.alwaysElevated): ParallaxToolbarConfig