showAlert static method

void showAlert({
  1. String? title,
  2. String? message,
})

Show an information alert

Implementation

static void showAlert({String? title, String? message}) {
  _showDialog(
    title: title ?? "Note",
    content: message,
    icon: Icons.info_outline_rounded,
    color: Colors.blueAccent,
  );
}