showToastCustom method
void
showToastCustom({})
Display a custom Toast message.
Implementation
void showToastCustom({
String? title,
String? description,
String? id,
Map<String, dynamic>? data,
Duration? duration,
}) {
showToast(
title: title,
description: description ?? "",
id: id ?? 'success',
data: data,
duration: duration,
);
}