global_toast 2.0.0 copy "global_toast: ^2.0.0" to clipboard
global_toast: ^2.0.0 copied to clipboard

global_toast can create toast at everyware, In first Page set Totas.globalContext = context, more info please read readme or example.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add global_toast

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

dependencies:
  global_toast: ^2.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:global_toast/global_toast.dart';
0
likes
35
pub points
19%
popularity

Publisher

unverified uploader

global_toast can create toast at everyware, In first Page set Totas.globalContext = context, more info please read readme or example.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on global_toast