showToastCustom method

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

Display a custom Toast message.

Implementation

void showToastCustom(
    {String? title,
    required String description,
    ToastNotificationStyleType? style}) {
  updatePageState("toast-custom", {
    "title": title ?? "",
    "description": description,
    "style": style ?? ToastNotificationStyleType.CUSTOM
  });
}