LocalOverscrollConfiguration

Property

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
val LocalOverscrollConfiguration =
compositionLocalOf<OverscrollConfiguration?> { OverscrollConfiguration() }

Composition local to provide configuration for scrolling containers down the hierarchy. null means there will be no overscroll at all.