displayToast function
void
displayToast({})
Implementation
void displayToast(
{required String message,
ToastAppearanceType? appearanceType,
String? actionButtonTitle1,
Function? actionButtonCallback1,
String? actionButtonTitle2,
Function? actionButtonCallback2,
Duration? toastDuration}) {
showToastWidget(
ToastWidget(
message: message,
appearanceType: appearanceType,
actionButtonTitle1: actionButtonTitle1,
actionButtonCallback1: actionButtonCallback1,
actionButtonTitle2: actionButtonTitle2,
actionButtonCallback2: actionButtonCallback2,
),
duration: toastDuration,
);
}