error static method
- BuildContext context,
- String message
Shorthand for an error toast.
Implementation
static void error(BuildContext context, String message) => show(
context,
PrismToastMessage(message: message, type: PrismToastType.error),
);
Shorthand for an error toast.
static void error(BuildContext context, String message) => show(
context,
PrismToastMessage(message: message, type: PrismToastType.error),
);