light_toast

Last updated:

0 purchases

light_toast Image
light_toast Images
Add to Cart

Description:

light toast

Light Toast is a simple, lightweight, and highly customizable Flutter package designed to display beautiful toast notifications within your Flutter applications. Enhance your app's user experience with eye-catching and informative toast messages.



Features #

Contextual Flexibility: Use Light Toast with or without a BuildContext for seamless integration.
Customization: Personalize your toast messages with a wide range of colors, icons, and images (both asset-based and network-based).
Visual Appeal: Choose to display icons or images alongside your toast text for added impact.
Timing Control: Adjust the duration of your toast messages for optimal visibility.
On-Demand Dismissal: Easily hide toast messages when needed.

Getting started #

Add Dependency: Include the following in your project's pubspec.yaml file:

dependencies:
light_toast: ^0.0.8
copied to clipboard

Import: Add the import statement to your Dart files:

import 'package:light_toast/light_toast.dart';
copied to clipboard
How to use #
Or with context
// Simple usage
Toast.show('Hello, Flutter!');

// Usage with BuildContext
Toast.show(context: context, 'Hello, Flutter!');

// To hide a toast:
Toast.hide();
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.