toggle menu
core
common
switch theme
search in API
core
/
com.erolc.mrouter.route.shareelement
/
ShareTransition
/
animateRect
animate
Rect
@
Composable
fun
animateRect
(
transitionSpec
:
@
Composable
Transition.Segment
<
ShareState
>
.
(
)
->
FiniteAnimationSpec
<
Rect
>
=
{ spring(visibilityThreshold = Rect.VisibilityThreshold) }
)
:
ShareAnimBody
<
Rect
>