sh_toast 2.0.4 copy "sh_toast: ^2.0.4" to clipboard
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_toast

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  sh_toast: ^2.0.4

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: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';
4
likes
125
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for displaying toast notifications on all platforms.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on sh_toast