toast_notification 1.0.0 copy "toast_notification: ^1.0.0" to clipboard
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.

example/example.md

Toast Notification Example #

It demonstrates how the both versions of our toast notificaiton work.

With Duration #

Examples of toast notification

Toast Message will automatically close after 2 seconds.

ToastMe(
    text: "Hello World",
    type: ToasterType.Check,
    duration: 2000).showToast(context); //miliseconds

Without Duration #

Examples of toast notification

Display toast message by...

NOTE: Make sure you have controller to close it later on.

ToastMe(
    text: "Hello World",
    type: ToasterType.Check,
    controller: toasterController).showToast(context);

And shut the toast notification by...

toasterController.end();
5
likes
140
points
38
downloads

Publisher

unverified uploader

Weekly Downloads

Show toast notifications anywhere in your app on just a function call. Design inspired by Threads Toast Notification.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on toast_notification