showAlert function

void showAlert(
  1. BuildContext context,
  2. String message
)

Implementation

void showAlert(BuildContext context, String message) {
  if (context.mounted) {
    alert(context, message);
  }
}