onError static method
dynamic
onError(})
Implementation
static onError(
String? message, {
Icon? icon,
Duration duration = const Duration(seconds: 5),
bool isDismissible = true,
String? actionableText,
VoidCallback? onActionableTextedClicked,
}) {
_showDismissibleSnackBar(
message,
icon: icon,
duration: duration,
isDismissible: isDismissible,
actionableText: actionableText,
onActionableTextedClicked: onActionableTextedClicked,
color: Palette.snackBarErrorColor,
);
}