showSuccessAlert static method

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

Show a success alert

Implementation

static void showSuccessAlert({String? title, String? message}) {
  _showDialog(
    title: title ?? "Success",
    content: message,
    icon: Icons.check_circle_outline_rounded,
    color: Colors.green,
  );
}