Package 

Class ZoomableKt

    • Method Summary

      Modifier and Type Method Description
      final static Modifier zoomable(Modifier $self, Function2<Offset, Float, Unit> onZoom, Boolean enabled) Handles the pinch-to-zoom gesture.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • zoomable

         final static Modifier zoomable(Modifier $self, Function2<Offset, Float, Unit> onZoom, Boolean enabled)

        Handles the pinch-to-zoom gesture.

        Parameters:
        onZoom - called when a pinch gesture is detected.
        enabled - whether zooming is enabled.