OverscrollConfiguration
-
android
@ExperimentalFoundationApi
class OverscrollConfiguration
Metadata for overscroll effects for android platform.
Summary
Public constructors |
|
|---|---|
This function is deprecated. Providing `OverscrollConfiguration` through `LocalOverscrollConfiguration` to disable / configure overscroll has been replaced with `LocalOverscrollFactory` and `rememberPlatformOverscrollFactory`. |
android
|
Public functions |
||
|---|---|---|
open operator Boolean |
android
|
|
open Int |
hashCode() |
android
|
open String |
toString() |
android
|
Public properties |
||
|---|---|---|
PaddingValues |
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. |
android
|
Color |
color for the glow effect, if the platform effect is a glow effect, otherwise ignored. |
android
|
Public constructors
OverscrollConfiguration
OverscrollConfiguration(
glowColor: Color = Color(0xff666666),
drawPadding: PaddingValues = PaddingValues()
)
| Parameters | |
|---|---|
glowColor: Color = Color(0xff666666) |
color for the glow effect, if the platform effect is a glow effect, otherwise ignored. |
drawPadding: PaddingValues = PaddingValues() |
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. |
Public properties
drawPadding
val drawPadding: PaddingValues
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.