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.

Libraries

floating_snackbar