photo_zoom 0.2.0
photo_zoom: ^0.2.0 copied to clipboard
Pan, zoom, rotate and swipe a photo gallery. Double tap and pinch zoom where you touch; mouse wheel on desktop. A type-safe, maintained drop-in for photo_view.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add photo_zoomThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
photo_zoom: ^0.2.0Alternatively, your editor might support 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';