sh_toast 2.0.4
sh_toast: ^2.0.4 copied to clipboard
A Flutter package for displaying toast notifications on all platforms.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sh_toastThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
sh_toast: ^2.0.4Alternatively, 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:sh_toast/dismiss_button.dart';
import 'package:sh_toast/main.dart';
import 'package:sh_toast/notification_animation.dart';
import 'package:sh_toast/options.dart';
import 'package:sh_toast/show_toast.dart';