add_to_cart_animation 2.0.4 add_to_cart_animation: ^2.0.4 copied to clipboard
A flutter plugin which provide you add to cart animation. I have prepared it to special to shopping apps however you can use it on the others apps too.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add add_to_cart_animation
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
add_to_cart_animation: ^2.0.4
Alternatively, 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:add_to_cart_animation/add_to_cart_animation.dart';