showNotificationCustomToast function
Implementation
void showNotificationCustomToast(Widget widget,
{Duration? duration, Alignment? align}) {
BaseBotToast.showCustomNotification(
align: align ?? Alignment.topCenter,
duration: duration ?? kNotificationToastDuration,
toastBuilder: (void Function() cancelFunc) {
return widget;
},
);
}