SnackBarExtension extension

on

Properties

snackBarObserver SnackBarObserver

Available on BuildContext, provided by the SnackBarExtension extension

no setter

Methods

accentSnackBar(String message, {double? elevation, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, double? width, ShapeBorder? shape, SnackBarBehavior behavior = SnackBarBehavior.floating, SnackBarAction? action, Duration duration = const Duration(seconds: 4), Animation<double>? animation, VoidCallback? onVisible, bool waitDialogToPop = true, bool waitPopupRouteToPop = false}) Future

Available on BuildContext, provided by the SnackBarExtension extension

errorSnackBar(String message, {double? elevation, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, double? width, ShapeBorder? shape, SnackBarBehavior behavior = SnackBarBehavior.floating, SnackBarAction? action, Duration duration = const Duration(seconds: 4), Animation<double>? animation, VoidCallback? onVisible, bool waitDialogToPop = true, bool waitPopupRouteToPop = false}) Future

Available on BuildContext, provided by the SnackBarExtension extension

primarySnackBar(String message, {double? elevation, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, double? width, ShapeBorder? shape, SnackBarBehavior behavior = SnackBarBehavior.floating, SnackBarAction? action, Duration duration = const Duration(seconds: 4), Animation<double>? animation, VoidCallback? onVisible, bool waitDialogToPop = true, bool waitPopupRouteToPop = false}) Future

Available on BuildContext, provided by the SnackBarExtension extension

showSnackBar(String message, {Color? backgroundColor, Color? textColor, double? elevation, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, double? width, ShapeBorder? shape, SnackBarBehavior behavior = SnackBarBehavior.floating, SnackBarAction? action, Duration duration = const Duration(seconds: 4), Animation<double>? animation, VoidCallback? onVisible, bool waitDialogToPop = true, bool waitPopupRouteToPop = false}) Future

Available on BuildContext, provided by the SnackBarExtension extension

waitForDialogToClose() Future

Available on BuildContext, provided by the SnackBarExtension extension

waitForPopupRouteToClose() Future

Available on BuildContext, provided by the SnackBarExtension extension