simple_snackbar 1.0.1 copy "simple_snackbar: ^1.0.1" to clipboard
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:

  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);
2
likes
150
pub points
48%
popularity

Publisher

unverified uploader

Simple Snack Bar that you can use throughout your project to display success, error, warning and info messages.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on simple_snackbar