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