shrinkOut
@Stable
Shrinks the space the content is given, from the content's full size to targetSize.
The content keeps its own size and is aligned inside that space, so the corner shrinkTowards names stays in place. Content outside the space is clipped when clip is true; see expandIn.
For one axis, use shrinkHorizontally or shrinkVertically.
Return
the exit transition.
Parameters
animationSpec
how the space travels, a medium-low stiffness spring by default.
shrinkTowards
the corner the space shrinks towards, the bottom trailing one by default.
clip
whether to clip content to the animated space; true by default.
targetSize
the space the content ends in, given its full size; empty by default.