toggle Scale
suspend fun ZoomState.toggleScale(targetScale: Float, position: Offset, animationSpec: AnimationSpec<Float> = spring())
Toggle the scale between targetScale and 1.0f.
Parameters
target Scale
Scale to be set if this function is called when the scale is 1.0f.
position
Zoom around this point.
animation Spec
The animation configuration.