zoomable

fun Modifier.zoomable(onZoom: OnZoom, enabled: Boolean = true): Modifier

Handles the pinch-to-zoom gesture.

Parameters

onZoom

called when a pinch gesture is detected.

enabled

whether zooming is enabled.