zoom_hover_pinch_image 1.0.0 zoom_hover_pinch_image: ^1.0.0 copied to clipboard
This is an image zoom package, which you can easily use.
This is an image zoom package, which you can easily use.
Features #
Zoom(
child: Image.network("https://i.pravatar.cc/300"),
clipBehavior: false,
),
Zoom(
child: Image.network("https://i.pravatar.cc/300"),
clipBehavior: true,
),
Zoom.pinch(
child: Image.network("https://i.pravatar.cc/300"),
clipBehavior: false,
borderRadius: BorderRadius.circular(8.0),
),
use web && windows && mac && linux
Zoom.hover(
child: Image.network("https://i.pravatar.cc/300"),
zoomedScale: 3.0
),
use web && windows && mac && linux
Zoom.hoverMouseRegion(
child: Image.network("https://i.pravatar.cc/300"),
zoomedScale: 3.0
),
Zoom.zoomOnTap(
child: Image.network("https://i.pravatar.cc/300"),
zoomedScale: 3.0,
clipBehavior: true,
),
Zoom.zoomOnTap(
child: Image.network("https://i.pravatar.cc/300"),
zoomedScale: 3.0,
clipBehavior: false,
),
Zoom.zoomOnTap(
child: Image.network("https://i.pravatar.cc/300"),
zoomedScale: 3.0,
clipBehavior: true,
oneTapZoom: true,
doubleTapZoom: false,
),
Getting started #
dependencies:
zoom_hover_pinch_image: ^1.0.0
How to use #
import 'package:zoom_hover_pinch_image/zoom_hover_pinch_image.dart';
Usage #
/example
.
Zoom.zoomOnTap(
child: Image.network("https://i.pravatar.cc/300"),
zoomedScale: 3.0,
clipBehavior: true,
oneTapZoom: true,
doubleTapZoom: false,
),
Additional information #
If you have any issues, questions, or suggestions related to this package, please feel free to contact us at swan.dev1993@gmail.com. We welcome your feedback and will do our best to address any problems or provide assistance. For more information about this package, you can also visit our GitHub repository where you can find additional resources, contribute to the package's development, and file issues or bug reports. We appreciate your contributions and feedback, and we aim to make this package as useful as possible for our users. Thank you for using our package, and we look forward to hearing from you!.