Parallax Body Config
class ParallaxBodyConfig(val minBottomSpacerHeight: Dp, val backgroundColor: Color = Color.Unspecified)(source)
Body spacing and background.
Parameters
min Bottom Spacer Height
Extra space under the content so the last item clears a bottom bar.
background Color
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.
Functions
Link copied to clipboard
fun copy(minBottomSpacerHeight: Dp = this.minBottomSpacerHeight, backgroundColor: Color = this.backgroundColor): ParallaxBodyConfig