showToastOops static method
dynamic
showToastOops(
- String 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(String state,
{String? title,
required String description,
ToastNotificationStyleType? style}) {
_updateState(state, "toast-oops", {
"title": title ?? "Oops",
"description": description,
"style": style ?? ToastNotificationStyleType.danger
});
}