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