showToastInfo static method

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

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

Implementation

static showToastInfo(String state,
    {String? title,
    required String description,
    ToastNotificationStyleType? style}) {
  _updateState(state, "toast-info", {
    "title": title ?? "Info",
    "description": description,
    "style": style ?? ToastNotificationStyleType.INFO
  });
}