changeScale
suspend fun changeScale(targetScale: Float, position: Offset, animationSpec: AnimationSpec<Float> = spring()): Job
Change the scale with animation.
Zoom in or out to targetScale around the position.
Parameters
targetScale
The target scale value.
position
Zoom around this point.
animationSpec
The animation configuration.