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