ZoomableLayout

fun ZoomableLayout(state: ZoomableState, modifier: <Error class: unknown class> = Modifier, zoomEnabled: Boolean = true, doubleTapScale: () -> Float? = null, doubleTapTransition: () -> <Error class: unknown class>? = null, onBeforeDoubleTapScale: () -> Unit? = null, onFinishDoubleTapScale: () -> Unit? = null, content: <Error class: unknown class>.() -> Unit)

A zoomable layout that can handle zoom in and out with drag support.

Parameters

state

the state object to be used to observe the ZoomableLayout state.

modifier

the modifier to apply to this layout.

doubleTapScale

a function called on double tap gesture, will scale to returned value.

content

a block which describes the content.