A factory for creating OverscrollEffects. You can provide a factory instance to LocalOverscrollFactory to globally change the factory, and hence effect, used by components within the hierarchy.

See rememberOverscrollEffect to remember an OverscrollEffect from the current factory provided to LocalOverscrollFactory.

Summary

Public functions

OverscrollEffect

Returns a new OverscrollEffect instance.

Cmn
operator Boolean
equals(other: Any?)

Require equals() to be implemented.

Cmn
Int

Require hashCode() to be implemented.

Cmn

Public functions

createOverscrollEffect

fun createOverscrollEffect(): OverscrollEffect

Returns a new OverscrollEffect instance.

equals

operator fun equals(other: Any?): Boolean

Require equals() to be implemented. Using a data class is sufficient. Singletons may implement this function with referential equality (this === other). Instances with no properties may implement this function by checking the type of the other object.

hashCode

fun hashCode(): Int

Require hashCode() to be implemented. Using a data class is sufficient. Singletons and instances with no properties may implement this function by returning an arbitrary constant.