slideIntoContainer
Slides the target content into the container, entering from the edge opposite towards and moving in the towards direction to its resting position. Unlike slideInHorizontally / slideInVertically (which offset by the content's own size), the slide is measured across the container's bounds. Only meaningful inside AnimatedContent's transitionSpec.
Parameters
The direction the entering content moves.
The animation spec for the slide. Defaults to spring.
Maps the container's full-slide extent in pixels to the initial offset. Defaults to a full slide ({ it }).
Slides the target content into the container over duration — a shortcut for slideIntoContainer(towards, tween(duration), initialOffset).
Parameters
The direction the entering content moves.
How long the slide runs.
Maps the container's full-slide extent in pixels to the initial offset. Defaults to a full slide ({ it }).