mango_toast 1.0.2 copy "mango_toast: ^1.0.2" to clipboard
mango_toast: ^1.0.2 copied to clipboard

MangoToast is a custom Flutter widget that displays a toast message using Snackbar..

MangoToast #

MangoToast is a custom Flutter widget that displays a toast message on the screen. It supports different types of messages like success, error, and warning. Each type of message is displayed with a different color.

Usage #

To display a warning message, you can use the MangoToast.warning method. This method takes a string message and an optional position parameter. The position parameter determines the alignment of the toast on the screen. It can be toastPosition.left, toastPosition.right, or toastPosition.center.

Here's an example of how to use it:

MangoToast.warning('Warning message', position: toastPosition.left).show(context);
2
likes
120
points
43
downloads

Publisher

unverified uploader

Weekly Downloads

MangoToast is a custom Flutter widget that displays a toast message using Snackbar..

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on mango_toast