ParallaxBodyConfig

class ParallaxBodyConfig(val minBottomSpacerHeight: Dp, val backgroundColor: Color = Color.Unspecified)(source)

Body spacing and background.

Parameters

minBottomSpacerHeight

Extra space under the content so the last item clears a bottom bar.

backgroundColor

Color drawn behind the body. The body slides over the header, so transparent gaps between items would show the header through; set this to the screen background unless every item paints its own. Color.Unspecified draws nothing.

Constructors

Link copied to clipboard
constructor(minBottomSpacerHeight: Dp, backgroundColor: Color = Color.Unspecified)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun copy(minBottomSpacerHeight: Dp = this.minBottomSpacerHeight, backgroundColor: Color = this.backgroundColor): ParallaxBodyConfig
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String