OverscrollConfiguration



Metadata for overscroll effects for android platform.

Note: this API is experimental and liable to be changed / removed. glowColor and drawPadding only apply before Android S and so might be misleading to have in a generic configuration object.

Summary

Public constructors

OverscrollConfiguration(glowColor: Color, drawPadding: PaddingValues)
android

Public functions

open operator Boolean
equals(other: Any?)
android
open Int
android
open String
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 functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

drawPadding

val drawPaddingPaddingValues

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.

glowColor

val glowColorColor

color for the glow effect, if the platform effect is a glow effect, otherwise ignored.