SnackBarExtensions extension

on

Methods

showCustomSnackBar({required String message, Color backgroundColor = Colors.black, Duration duration = const Duration(seconds: 3), SnackBarAction? action}) → void

Available on BuildContext, provided by the SnackBarExtensions extension

showErrorSnackBar(String message) → void

Available on BuildContext, provided by the SnackBarExtensions extension

showGradientSnackBar(BuildContext context, String message) → void

Available on BuildContext, provided by the SnackBarExtensions extension

showIconSnackBar({required String message, required IconData icon, Color backgroundColor = Colors.black, Duration duration = const Duration(seconds: 3)}) → void

Available on BuildContext, provided by the SnackBarExtensions extension

showPersistentSnackBar({required String message, required Color dismissColor}) → void

Available on BuildContext, provided by the SnackBarExtensions extension

showSuccessSnackBar(String message) → void

Available on BuildContext, provided by the SnackBarExtensions extension