delightful_toast 1.1.0 copy "delightful_toast: ^1.1.0" to clipboard
delightful_toast: ^1.1.0 copied to clipboard

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

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!")
)
185
likes
150
points
2.42k
downloads

Publisher

verified publisherswaroopsambhayya.com

Weekly Downloads

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

Repository (GitHub)
View/report issues

Topics

#snackbar #animation

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_animate

More

Packages that depend on delightful_toast