remember Zoomable State
fun rememberZoomableState(zoomSpec: ZoomSpec = ZoomSpec(), autoApplyTransformations: Boolean = true, hardwareShortcutsSpec: HardwareShortcutsSpec = HardwareShortcutsSpec()): ZoomableState
Create a ZoomableState that can be used with Modifier.zoomable.
Parameters
zoom Spec
auto Apply Transformations
Determines whether the resulting scale and translation of pan and zoom gestures should be automatically applied by Modifier.zoomable to its content. This can be disabled if your content prefers applying the transformations in a bespoke manner.
hardware Shortcuts Spec
Spec used for handling keyboard and mouse shortcuts, or HardwareShortcutsSpec.Disabled for disabling them.