alert method
dynamic
alert(
- dynamic context, {
- ToastNotificationStyleType style = ToastNotificationStyleType.warning,
- Duration? duration,
- Map<
String, dynamic> ? info,
The alert which will be displayed.
Implementation
alert(context,
{ToastNotificationStyleType style = ToastNotificationStyleType.warning,
Duration? duration,
Map<String, dynamic>? info}) {
showToastNotification(
context,
style: style,
title: title,
description: description,
duration: duration,
);
}