delightful_toast

Creator: coderz1093

Last updated:

Add to Cart

Description:

delightful toast

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

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

Trigger a toastbar
Slide to dismiss a toastbar
Auto dimiss a toastbar
Dismiss on demand via action buttons
Stacking a toasbar in a delightful way!

Getting started #
In pubspec.yaml
delightful_toast: ^1.1.0
copied to clipboard
// add the import statement
import 'package:delightful_toast/delight_toast.dart';

copied to clipboard
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!")
)
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.