antd_image_viewer 1.0.0
antd_image_viewer: ^1.0.0 copied to clipboard
Ant Design (antd-mobile) ImageViewer component for Flutter. Full-screen image preview with pinch zoom, pan, double-tap zoom, multi-image paging and controlled open/close, aligned with antd-mobile Imag [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add antd_image_viewerWith Flutter:
$ flutter pub add antd_image_viewerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
antd_image_viewer: ^1.0.0Alternatively, 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:antd_image_viewer/antd_image_viewer.dart';