toast_lift 1.0.0 copy "toast_lift: ^1.0.0" to clipboard
toast_lift: ^1.0.0 copied to clipboard

Beautiful animated toast notifications for Flutter apps with modern UI and smooth animations.

ToastLift 🚀 #

A beautiful, animated, and modern Flutter toast package with swipe dismiss, premium UI, multiple toast types, smooth animations, and Lottie-powered showcase screens.

ToastLift helps developers display elegant floating toast notifications with minimal code.


✨ Features #

  • 🎨 Premium modern toast UI
  • ⚡ Smooth fade & slide animations
  • 👆 Swipe to dismiss
  • 🌈 Multiple toast types
  • 📍 Top / Bottom / Center positions
  • 🧩 Custom title & message support
  • 💎 Colored borders & soft shadows
  • 🪄 Lightweight and easy to use
  • 📱 Responsive design
  • 🎬 Lottie animated showcase demo

📸 Screenshots #

[example/screenshots/img1.png]     [example/screenshots/img2.png]


📦 Installation #

Add this to your pubspec.yaml:

dependencies:
  toast_lift: ^0.0.1

Then run:

flutter pub get

🚀 Import #

import 'package:toast_lift/toast_lift.dart';

✅ Basic Usage #

ToastLift.show(
  context,
  title: "Success",
  message: "Profile updated successfully!",
  type: ToastLiftType.success,
);

🎨 Toast Types #

Success Toast #

ToastLift.show(
  context,
  title: "Success",
  message: "Your profile was updated!",
  type: ToastLiftType.success,
);

Error Toast #

ToastLift.show(
  context,
  title: "Error",
  message: "Something went wrong!",
  type: ToastLiftType.error,
);

Warning Toast #

ToastLift.show(
  context,
  title: "Warning",
  message: "Please check your input.",
  type: ToastLiftType.warning,
);

Info Toast #

ToastLift.show(
  context,
  title: "Info",
  message: "New update available.",
  type: ToastLiftType.info,
);

Loading Toast #

ToastLift.show(
  context,
  title: "Loading",
  message: "Uploading your file...",
  type: ToastLiftType.loading,
);

📍 Toast Positions #

Bottom Position #

position: ToastLiftPosition.bottom,

Top Position #

position: ToastLiftPosition.top,

Center Position #

position: ToastLiftPosition.center,

✨ Full Example #

ToastLift.show(
  context,
  title: "Success",
  message: "Profile saved successfully!",
  type: ToastLiftType.success,
  position: ToastLiftPosition.center,
);

👆 Swipe To Dismiss #

Users can dismiss the toast by swiping left or right.


🛠 Built With #

  • Flutter
  • Dart
  • Lottie Animations

📄 License #

MIT License


❤️ Support #

If you like this package, give it a ⭐ on GitHub and support the project.

🌐 GitHub #

View source code, report issues, or contribute here:

https://github.com/Sakshi-2508/toast_lift

0
likes
145
points
49
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Beautiful animated toast notifications for Flutter apps with modern UI and smooth animations.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on toast_lift