simple_snackbar 1.0.1 simple_snackbar: ^1.0.1 copied to clipboard
Simple Snack Bar that you can use throughout your project to display success, error, warning and info messages.
Show beautiful Snack bar and display messages for:
- Success
- Error
- Warning
- Info
##DEMO
##USAGE
//define
final snackBar = simpleSnackBar(
//required
buildContext: context,
//required
messageText: "This is an info",
backgroundColor: Colors.white,
displayDismiss: false,
textColor: Colors.black,
snackBarType: SnackBarType.info);
//display
ScaffoldMessenger.of(context).showSnackBar(snackBar);