photo_zoom 0.1.2
photo_zoom: ^0.1.2 copied to clipboard
Pan, zoom and rotate images. Double tap and pinch zoom where you touch, mouse wheel zooms on desktop, and the gallery swipes between photos.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add photo_zoomWith Flutter:
$ flutter pub add photo_zoomThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
photo_zoom: ^0.1.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:photo_zoom/photo_zoom.dart';