errorAlert static method

Alert errorAlert(
  1. String message
)

Creates an error alert.

Implementation

static Alert errorAlert(String message) => Alert()
  ..error()
  ..message(message);