premium_toast_flutter 1.0.2 copy "premium_toast_flutter: ^1.0.2" to clipboard
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 #

Alert Toast

Error Toast #

Error Toast

Success 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!

2
likes
130
points
--
downloads

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flutter

More

Packages that depend on premium_toast_flutter