delightful_toast 1.1.0
delightful_toast: ^1.1.0 copied to clipboard
A Delightful toasbar package for rich interaction with features like slide to dismiss,auto dismiss, stacked animation and dismiss on demand.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add delightful_toast
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
delightful_toast: ^1.1.0
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:delightful_toast/delight_toast.dart';
import 'package:delightful_toast/toast/components/raw_delight_toast.dart';
import 'package:delightful_toast/toast/components/toast_card.dart';
import 'package:delightful_toast/toast/utils/enums.dart';
import 'package:delightful_toast/toast/utils/mock.dart';
import 'package:delightful_toast/toast/utils/utils.dart';