SnackBarPresenterEx extension
Methods
-
showError(
dynamic error, {required ThemeData theme, SnackBarL10n l10n = const SnackBarL10n(), Color? backgroundColor, Color? textColor}) → ScaffoldFeatureController< SnackBar, SnackBarClosedReason> -
Available on ScaffoldMessengerState, provided by the SnackBarPresenterEx extension
-
showMessage(
String text) → ScaffoldFeatureController< SnackBar, SnackBarClosedReason> -
Available on ScaffoldMessengerState, provided by the SnackBarPresenterEx extension
-
showMessageWithAction(
String text, {required VoidCallback onAction, required String actionLabel, required ThemeData theme, Color? actionColor}) → ScaffoldFeatureController< SnackBar, SnackBarClosedReason> -
Available on ScaffoldMessengerState, provided by the SnackBarPresenterEx extension
-
showUndo(
String text, {required VoidCallback onUndo, required ThemeData theme, Color? undoButtonColor, SnackBarL10n l10n = const SnackBarL10n()}) → ScaffoldFeatureController< SnackBar, SnackBarClosedReason> -
Available on ScaffoldMessengerState, provided by the SnackBarPresenterEx extension