Search categories, packages and repositories

delightful_toast cover
Package detailsv1.1.0

delightful_toast

A Delightful toasbar package for rich interaction with features like slide to dismiss,auto dismiss, stacked animation and dismiss on demand.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
2.7K
Likes
244
Pub points
150

Install package

flutter pub add delightful_toast

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Delightful Toast is a Flutter package that enhances standard toast notifications with rich interactive features. It supports slide-to-dismiss gestures, automatic dismissal, stacked animations for multiple toasts, and manual dismissal on demand. Designed for modern UIs, it provides smooth, engaging feedback with customizable appearance and behavior. Ideal for apps seeking dynamic, user-friendly toast experiences across platforms.

Use cases

  • Interactive in-app notifications
  • User feedback with swipe gestures
  • Stacked toast messages
  • Auto-dismissing alerts
  • Manual control over toast lifecycle

Key features

  • Slide to dismiss
  • Auto dismiss
  • Stacked animation
  • Dismiss on demand
  • Cross-platform support

Suitable for

  • Mobile and web applications
  • Apps needing interactive toast UX
  • Developers wanting rich notification effects
  • Projects emphasizing user engagement

Considerations

  • May require additional styling for custom themes
  • Performance impact with high toast frequency
  • Limited to basic toast content types
  • Not suitable for complex dialogues
  • Requires careful handling of stacking logic

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

A delighful and very interactive toast or a snackbar to add more delight to your application

ezgif com-video-to-gif

https://github.com/SwaroopSambhayya/delight_toast/assets/31922733/45b77a2e-7a73-44a0-899d-8d2f740097fb

Features

  1. Trigger a toastbar
  2. Slide to dismiss a toastbar
  3. Auto dimiss a toastbar
  4. Dismiss on demand via action buttons
  5. Stacking a toasbar in a delightful way!

Getting started

In pubspec.yaml

    delightful_toast: ^1.1.0
// add the import statement
import  'package:delightful_toast/delight_toast.dart';

Usage

Use the toasbar whenever a event has been triggered like onPressed/onTapped or in any other situation where the event is enforced

ElevatedButton( onPressed:(){
     DelightToastBar(
              builder: (context) => const ToastCard(
                leading: Icon(
                  Icons.flutter_dash,
                  size: 28,
                ),
                title: Text(
                  "Hi I'm Dash, Let's have a walkthrough of Delight Toast",
                  style: TextStyle(
                    fontWeight: FontWeight.w700,
                    fontSize: 14,
                  ),
                ),
              ),
            ).show(context);

},
     child: const Text("Toast!")
)

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package