showToastInfo method

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

Displays a Toast message containing "Info" for the title, you only need to provide a description.

Implementation

void showToastInfo(
    {String? title,
    required String description,
    ToastNotificationStyleType? style}) {
  updatePageState("toast-info", {
    "title": title ?? "Info",
    "description": description,
    "style": style ?? ToastNotificationStyleType.info
  });
}