@ExperimentalMaterial3AdaptiveApi
object PaneMotionDefaults
The default settings of pane motions.
Properties
val AnimationSpec: FiniteAnimationSpec<IntRect>
The default FiniteAnimationSpec used to animate panes. Note that the animation spec is based on bounds animation - in a situation to animate offset or size independently, developers can use the derived OffsetAnimationSpec and SizeAnimationSpec.
val DelayedAnimationSpec: FiniteAnimationSpec<IntRect>
The default FiniteAnimationSpec used to animate panes with a delay. Note that the animation spec is based on bounds animation - in a situation to animate offset or size independently, developers can use the derived DelayedOffsetAnimationSpec and DelayedSizeAnimationSpec.
val VisibilityAnimationSpec: FiniteAnimationSpec<Float>
The default FiniteAnimationSpec used to animate panes' visibility.
val OffsetAnimationSpec: FiniteAnimationSpec<IntOffset>
The derived FiniteAnimationSpec that can be used to animate panes' positions when the specified pane motion is sliding in or out without size change. The spec will be derived from the provided AnimationSpec the using the corresponding top-left coordinates.
val SizeAnimationSpec: FiniteAnimationSpec<IntSize>
The derived FiniteAnimationSpec that can be used to animate panes' sizes when the specified pane motion is expanding or shrinking without position change. The spec will be derived from the provided AnimationSpec by using the corresponding sizes.
val DelayedOffsetAnimationSpec: FiniteAnimationSpec<IntOffset>
The derived FiniteAnimationSpec that can be used to animate panes' positions when the specified pane motion is sliding in or out with a delay without size change. The spec will be derived from the provided DelayedAnimationSpec the using the corresponding top-left coordinates.
val DelayedSizeAnimationSpec: FiniteAnimationSpec<IntSize>
The derived FiniteAnimationSpec that can be used to animate panes' sizes when the specified pane motion is expanding or shrinking with a delay without position change. The spec will be derived from the provided DelayedAnimationSpec by using the corresponding sizes.