floating_snackbar 1.0.3+1 copy "floating_snackbar: ^1.0.3+1" to clipboard
floating_snackbar: ^1.0.3+1 copied to clipboard

A package that provides custom floating snackbar for your project.

A package that provides custom floating snackbar for your project.

Features #

Can Provide custom floating snackbar for an minimalistic toast.

Getting started #

import the package in your dart file

import  'package:floating_snackbar/floatingSnackBar.dart';

Usage #

FloatingSnackBar

TextButton(
onPressed: () {
	FloatingSnackBar(
		message:  'Hi Ameen Palakkad',
		context: context,
		textColor:  Colors.black,
		textStyle:  const  TextStyle(color:  Colors.red),
		duration:  const  Duration(milliseconds:  4000),
		backgroundColor:  Colors.white,
	);
},
child:  const  Text('Show SnackBar'),
),

Parse the required 'message' and 'context' to the FloatingSnackBar widget for using your custom toast.

15
likes
0
pub points
88%
popularity

Publisher

verified publisherameeen.me

A package that provides custom floating snackbar for your project.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

cupertino_icons, flutter

More

Packages that depend on floating_snackbar