gesture_zoom_box

Creator: coderz1093

Last updated:

Add to Cart

Description:

gesture zoom box

GestureZoomBox #
A widget for gesture zoom.
Usage #
GestureZoomBox(
maxScale: 5.0,
doubleTapScale: 2.0,
duration: Duration(milliseconds: 200),
onPressed: () => Navigator.pop(context),
child: Image.network(widget.imageUrl),
)
copied to clipboard
Parameters #



parameter
description




maxScale
The maximum zoom ratio.


doubleTapScale
The zoom ratio for double-click.


duration
The execution time of the animation, e.g fling & bounce.


onPressed
The callback for click.


child
The scalable content.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.