change Scale
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
target Scale
The target scale value.
position
Zoom around this point.
animation Spec
The animation configuration.