ContextSnackBar extension
- on
Methods
-
hideSnackBar(
) → void -
Available on BuildContext, provided by the ContextSnackBar extension
-
showError(
[String msg = 'Error']) → void -
Available on BuildContext, provided by the ContextSnackBar extension
-
showSnackBar(
String msg, {Color? foreground, Color? background, SnackBarBehavior? behavior = SnackBarBehavior.floating, int duration = 2000, bool closeIcon = false, SnackBarAction? action}) → void -
Available on BuildContext, provided by the ContextSnackBar extension
-
showSuccess(
[String msg = 'Success']) → void -
Available on BuildContext, provided by the ContextSnackBar extension