drag_anim 1.0.8 drag_anim: ^1.0.8 copied to clipboard
一个自动检查位置改变的动画widget
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add drag_anim
With Flutter:
$ flutter pub add drag_anim
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
drag_anim: ^1.0.8
Alternatively, 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:drag_anim/drag_anim.dart';