showToastOops static method

void showToastOops(
  1. dynamic state, {
  2. String? title,
  3. required String description,
})

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

Implementation

static void showToastOops(
  dynamic state, {
  String? title,
  required String description,
}) {
  _updateState(_findStateName(state), "toast-oops", {
    "title": title ?? "Oops",
    "description": description,
  });
}