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