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