flutter_photo_view 1.0.0
flutter_photo_view: ^1.0.0 copied to clipboard
PhotoView aims to help produce an easily usable implementation of a zooming ImageView.
A state builder.
Features #
PhotoView aims to help produce an easily usable implementation of a zooming ImageView.
Android use: https://github.com/Baseflow/PhotoView
iOS use: https://github.com/suzuki-0000/SKPhotoBrowser and https://github.com/huynguyencong/ImageScrollView
Getting started #
Run this command:
$ flutter pub add flutter_photo_view
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_photo_view: ^1.0.0
Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Usage #
import 'package:photo_view/photo_view.dart';
import 'package:photo_view/photo_view_controller.dart';
PhotoViewController.presentWithUrls(
photos: ['https://placehold.jp/150x150.png', 'https://placehold.jp/160x160.png']
);
Additional information #
Email: leonacky@gmail.com