draggable_image 0.1.5
draggable_image: ^0.1.5 copied to clipboard
A smooth pinch-to-zoom & drag image widget that snaps back with overlay for buttery performance.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add draggable_imageThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
draggable_image: ^0.1.5Alternatively, 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:draggable_image/draggable_image.dart';