DraggableContainerState

class DraggableContainerState(var defaultAnimationSpec: AnimationSpec<Float> = DEFAULT_SOFT_ANIMATION_SPEC)

变换动画容器的状态

Constructors

Link copied to clipboard
constructor(defaultAnimationSpec: AnimationSpec<Float> = DEFAULT_SOFT_ANIMATION_SPEC)

Properties

Link copied to clipboard

默认动画窗格

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun reset(animationSpec: AnimationSpec<Float> = defaultAnimationSpec)

重置回原来的状态

Link copied to clipboard
suspend fun resetImmediately()

立刻重置