toast_notification 1.0.0 toast_notification: ^1.0.0 copied to clipboard
Show toast notifications anywhere in your app on just a function call. Design inspired by Threads Toast Notification.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add toast_notification
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
toast_notification: ^1.0.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:toast_notification/toast_notification.dart';