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