floating_snackbar 1.0.4 copy "floating_snackbar: ^1.0.4" to clipboard
floating_snackbar: ^1.0.4 copied to clipboard

A package that provides custom floating snackbar for your project.

floating_snackbar #

pub package tests

A Flutter plugin for showing minimal toasts/snackbar. 🚀

In-App Review Android Demo

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';

Usage #1 #

Minimalistic snackbar đŸ‘šđŸŒâ€đŸŒŸ

TextButton(
  onPressed: () {
    FloatingSnackBar(
       message: 'Hi there! I am a floating SnackBar!',
	   context: context,
	);
},
child:  const  Text('Show SnackBar 1'),
),

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'),
),

Parse the required 'message' and 'context' to the FloatingSnackBar widget 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! 🚀


15
likes
150
pub points
88%
popularity

Publisher

verified publisherameeen.me

A package that provides custom floating snackbar for your project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flutter

More

Packages that depend on floating_snackbar