Show beautiful Snack bar and display messages for:

  1. Success
  2. Error
  3. Warning
  4. Info

DEMO

The example app running in Android

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

Libraries

simple_snackbar
Support for doing something awesome.