floating_snackbar

Creator: coderz1093

Last updated:

Add to Cart

Description:

floating snackbar

floating_snackbar #


A Flutter plugin for showing minimal toasts/snackbar. 🚀




Support đŸ–„ïž
Android
iOS
Linux
macOS
Web
Windows



This Flutter package offers a customizable solution for integrating floating Snackbars into your applications. providing a seamless user experience. đŸ”„

Getting started #
To use this plugin, add floating_snackbar as a dependency in your pubspec.yaml file.
import the package in your dart file
import 'package:floating_snackbar/floatingSnackBar.dart';
copied to clipboard

Usage #1 #
Minimalistic snackbar đŸ‘šđŸŒâ€đŸŒŸ
TextButton(
onPressed: () {
floatingSnackBar(
message: 'Hi there! I am a floating SnackBar!',
context: context,
);
},
child: const Text('Show SnackBar 1'),
),
copied to clipboard

Usage #2 #
Detailed snackbar đŸŠčđŸ»
TextButton(
onPressed: () {
floatingSnackBar(
message: 'Developed by @emeenx on Twitter!',
context: context,
textColor: Colors.black,
textStyle: const TextStyle(color: Colors.red),
duration: const Duration(milliseconds: 4000),
backgroundColor: Colors.white,
);
},
child: const Text('Show SnackBar 2'),
),
copied to clipboard
Parse the required 'message' and 'context' to the floatingSnackBar function to use your custom toast. 🎉
Support
For support and feedback, feel free to reach out through the issues page. đŸ› ïž

Issue tracker : Raise here 🐛

Enjoy using the Floating Snackbar package to enhance your Flutter app! 🚀

License

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

Customer Reviews

There are no reviews.