simple_toast_message

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

simple toast message

Elevate your Dart application's user experience with our lightweight and intuitive Toast Plugin. Designed for simplicity and efficiency, this plugin empowers developers to effortlessly display toast messages that automatically dismiss, providing a seamless way to communicate essential information to users.
This is inspired by the app at https://schoolofnewafrica.com/. All the credit to my product design lead Tagoe Kingston (https://dribbble.com/niimantse), who is the brain behind the UI concept.
Features #

• Easy Integration:
Swiftly integrate toast notifications into your Dart applications with minimal setup. Our
plugin is designed for hassle-free implementation, saving you valuable development time.
• Automatic Dismissal:
Say goodbye to manual dismissals. Our Toast Plugin is equipped with automatic dismissal
functionality, ensuring that your toast messages gracefully fade away after a customizable
duration.
• Customization Options:
Tailor the appearance of your toast messages to align with your application's aesthetics.
Customize text, background color, duration, and more to create a seamless and branded user
experience.
• Responsive Design:
Whether you're developing for mobile, web, or desktop, our plugin adapts seamlessly to various
screen sizes and resolutions, ensuring a consistent and visually appealing toast experience
across platforms.
Getting started #
To install the package, run this command:
$ flutter pub add simple_toast_message

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

copied to clipboard
Import it and use it in your dart code:
import 'package:simple_toast/simple_toast.dart';

copied to clipboard
Usage #
Simple Toast
• Show information, you invoke this by calling info toast
SimpleToast.showInfoToast();
copied to clipboard
• Show error message, this presents error message
SimpleToast.showErrorToast();
copied to clipboard
• Show success message, this presents success message
SimpleToast.showSuccessToast();
copied to clipboard
Example #
• Import the package
//import the plugin
import 'package:simple_toast/simple_toast.dart';
copied to clipboard
• Information usecase
SimpleToast.showInfoToast(context, "Info Title", "Information displayed on info");
copied to clipboard
• Success usecase
SimpleToast.showSuccessToast(context, "Success Title", "Information displayed on success");
copied to clipboard
• Error usecase
SimpleToast.showErrorToast(context, "Error Title", "Information displayed on error");
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.