showToastCustom method

dynamic showToastCustom({
  1. String? title,
  2. String? description,
  3. ToastNotificationStyleType? style,
})

Display a custom Toast message.

Implementation

showToastCustom(
    {String? title, String? description, ToastNotificationStyleType? style}) {
  showToast(
      title: title ?? "",
      description: description ?? "",
      style: style ?? ToastNotificationStyleType.CUSTOM);
}