defaultZoomImageParams Function
@Stable fun defaultZoomImageParams(scrollPadding: PaddingValues): ZoomImageParams
Zoom limits and gesture behaviour for a zoomable image, with the SDK’s defaults.
Return
parameters requesting a double-tap scale of 1.25 and a maximum of 2.0, each subject to the clamp that always admits the fitted scale.
Parameters
- scrollPadding — space kept between the image and the edges of the view.