photo_viewer 0.1.0
photo_viewer: ^0.1.0 copied to clipboard
Flutter image viewer library with multiple display modes. Features include: pinch-zoom, double-tap zoom, vertical dismiss, page navigation, custom overlays, and hero animations.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add photo_viewerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
photo_viewer: ^0.1.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_viewer/photo_viewer.dart';