web_toast 1.0.4-nullsafety
web_toast: ^1.0.4-nullsafety copied to clipboard
A small framework-agnostic library for displaying popup info messages ("toasts") in web apps
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add web_toastWith Flutter:
$ flutter pub add web_toastThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
web_toast: ^1.0.4-nullsafetyAlternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:web_toast/web_toast.dart';