Class

OverscrollConfiguration

Metadata for overscroll effects for android platform.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
Deprecated Providing OverscrollConfiguration through LocalOverscrollConfiguration to disable / configure overscroll has been replaced with LocalOverscrollFactory and rememberPlatformOverscrollFactory. To disable overscroll, instead of LocalOverscrollConfiguration provides null, use LocalOverscrollFactory provides null. To change the glow color / padding, instead of LocalOverscrollConfiguration provides OverscrollConfiguration(myColor, myPadding), use LocalOverscrollFactory provides rememberPlatformOverscrollFactory(myColor, myPadding)
@ExperimentalFoundationApi
class OverscrollConfiguration(
    val glowColor: Color = Color(0xff666666), // taken from EdgeEffect.java defaults
    val drawPadding: PaddingValues = PaddingValues(),
)

Metadata for overscroll effects for android platform.

Parameters

glowColor color for the glow effect, if the platform effect is a glow effect, otherwise ignored.
drawPadding the amount of padding to apply from scrollable container bounds to the effect before drawing it, if the platform effect is a glow effect, otherwise ignored.