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