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