butter_toast 0.1.0
butter_toast: ^0.1.0 copied to clipboard
Smooth, buttery toasts for Flutter: pill and Sonner-style card toasts, 7 positions with their own motion, promise toasts, swipe to dismiss, no context needed.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add butter_toastThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
butter_toast: ^0.1.0Alternatively, 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:butter_toast/butter_toast.dart';