confetti 0.6.0-nullsafety confetti: ^0.6.0-nullsafety copied to clipboard
Blast colorful confetti all over the screen. Celebrate in app achievements with style. Control the velocity, angle, gravity and amount of confetti.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add confetti
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
confetti: ^0.6.0-nullsafety
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:confetti/confetti.dart';