flutter_hero_photo_viewer 0.1.0
flutter_hero_photo_viewer: ^0.1.0 copied to clipboard
Instagram-style photo viewer with a jank-free Hero transition from a cover thumbnail grid: isomorphic Hero endpoints, deferred gesture layer, swipe-to-dismiss, pinch / double-tap zoom, paging.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_hero_photo_viewerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_hero_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:flutter_hero_photo_viewer/flutter_hero_photo_viewer.dart';