flutter_sliding_toast
1.8.0, released 3 weeks ago by an unverified publisher
Displays customizable sliding and popup toasts with animations, queueing, and stacking modes.
What it does
Allows developers to display customizable sliding and popup toast notifications with features like tap actions, animation controls, drag-to-dismiss, and queueing/stacking behavior. It supports rich styling, custom leading/trailing widgets, and long-message dialog triggers.
AI-written summary of version 1.8.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need customizable sliding or popup toast notifications in your Flutter app.
- You require advanced toast queueing modes like one-by-one or stacked notifications.
- You want users to be able to tap toasts to view long messages inside a dialog.
Skip it when
- You need system-level push notifications or local OS notifications.
- Your project relies on an older version of Flutter prior to 3.47.0.
Strengths
- Supports multiple display modes including all-at-once, one-by-one queueing, and notification-style stacking.
- Rich customization options for layout, alignment, animations, styling, and glassmorphism.
- Built-in accessibility/utility features like long-press to pause and tap-to-read dialogs.
Weaknesses
- Requires a relatively recent Flutter version (3.47.0 and newer).
- Not suited for persistent local push notifications.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Requires Flutter 3.47.0 and Dart 3.13.0 or newer. Simply add the dependency to pubspec.yaml.
InteractiveToast.slide(
context: context,
title: const Text('Hi there! I\'s a sliding toast.'),
);Alternatives
Packages that do the same job and could replace flutter_sliding_toast.
- fluttertoast
If you want a lightweight, simple toast package that natively bridges platform toasts.
85Compare - toastification
For a highly stylized toast library with rich built-in themes and progress indicators.
91Compare - bot_toast
If you need a highly extensible overlay management system that can show toasts, loading indicators, and custom dialogs anywhere.
50Compare
Works with
Packages commonly used together with flutter_sliding_toast: ones it builds on, ones built on it, and its own family.