Composable Function

defaultDecayAnimationSpec

defaultDecayAnimationSpec

Source set: Android
@Composable
@Deprecated("Replace with rememberSplineBasedDecay<Float>")
public fun defaultDecayAnimationSpec(): DecayAnimationSpec<Float>

defaultDecayAnimationSpec

Source set: Common
@Composable
@Deprecated("Replace with rememberSplineBasedDecay<Float>")
@Suppress("KmpDeprecationMismatch") // not deprecated in commonStubs
public fun defaultDecayAnimationSpec(): DecayAnimationSpec<Float>

Create default DecayAnimationSpec representing a default fling curve for a platform.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: