light_toast 0.0.1 copy "light_toast: ^0.0.1" to clipboard
light_toast: ^0.0.1 copied to clipboard

A simple toast package for Flutter.

light_toast #

A simple and lightweight Flutter package for displaying customizable toast messages.

Image Image Image

Features #

  • Display toast messages with customizable colors, icons, and images.
  • Supports showing icons or images leading the toast message.
  • Supports Assets and Network images
  • Configurable duration for toast visibility.
  • Hide toast

Getting started #

[//]: # (add this line to your dependencies)
toast: ^0.0.1

Then, import the package where you want to use it: import 'package:toast/toast.dart';

How to use #

You can use the Toast.show method to display a toast message. Here's an example:

Toast.show(
  context,
  'Hello, Flutter!',
);

To hide toast

Toast.hide();
4
likes
0
pub points
62%
popularity

Publisher

unverified uploader

A simple toast package for Flutter.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on light_toast