center By Content Coordinate
suspend fun centerByContentCoordinate(offset: Offset, scale: Float = 3.0f, animationSpec: AnimationSpec<Float> = tween(700))
Animates the centering of content by modifying the offset and scale based on content coordinates.
Parameters
offset
The offset to apply for centering the content.
scale
The scale to apply for zooming the content.
animation Spec
AnimationSpec for centering and scaling.