premium_toast_flutter 1.0.2
premium_toast_flutter: ^1.0.2 copied to clipboard
A beautiful and lightweight Flutter package to display animated toast messages for success, error, and alert events. Premium_Toast_Flutter makes your app interactions smoother by providing quick, eleg [...]
π§ Premium Toast Flutter #
A beautiful and lightweight Flutter package to display animated toast messages for success, error, and alert events.
Premium Toast Flutter makes your app interactions smoother by providing quick, elegant, and consistent feedback to users.
β¨ Features #
- β Success Toast β When actions succeed (e.g., message sent, verification done, authentication complete).
- β Error Toast β When something goes wrong (e.g., authentication failed, invalid input, operation failed).
- β οΈ Alert Toast β When the user needs attention (e.g., weak password warning, unsaved changes).
π¨ Each toast comes with:
- Clean UI and subtle animations
- Customizable title, subtitle, and duration
- Works on all Flutter platforms (Android, iOS, Web, Desktop)
π Getting started #
Add this package to your project by running:
flutter pub add Premium_Toast_Flutter
Import #
import 'package:premium_toast_flutter/premium_toast_flutter.dart';
Success Toast β #
Premium_Toast_Flutter.successToast(
context,
title: "Well Done!",
subTitle: "Your message has been sent successfully.",
duration: Duration(seconds: 3),
);
Error Toast β #
Premium_Toast_Flutter.errorToast(
context,
title: "Oops!",
subTitle: "Some Error has occurred.",
duration: Duration(seconds: 3),
);
Alert Toast β οΈ #
Premium_Toast_Flutter.alertToast(
context,
title: "Alert!",
subTitle: "There is some alert.",
duration: Duration(seconds: 3),
);
Reference Images #
Alert Toast #

Error Toast #

Success Toast #

Customization (Coming Soon) βοΈ #
Premium Toast Flutter aims to be fully customizable soon! Planned enhancements include:
-
π¨ Custom colors and gradients
-
π Different animation styles
-
π Toast positioning (Top, Bottom, Center)
-
π Custom icons and shapes
Additional Information #
Created and maintained by Kathank Raithatha. If you face any issues or have suggestions for improvements, feel free to open an issue or contribute once the repository is public.
π© For queries or collaborations, reach out via GitHub or connect on LinkedIn.
βοΈ If you like Premium Toast Flutter, donβt forget to give it a star on GitHub and share it with your developer friends!