showToastOops static method
dynamic
showToastOops(
- dynamic state, {
- String? title,
- required String description,
- ToastNotificationStyleType? style,
Displays a Toast message containing "Oops" for the title, you
only need to provide a description
.
Implementation
static showToastOops(dynamic state,
{String? title,
required String description,
ToastNotificationStyleType? style}) {
_updateState(_findStateName(state), "toast-oops", {
"title": title ?? "Oops",
"description": description,
"style": style ?? ToastNotificationStyleType.danger
});
}