alert function
Alert message
Implementation
Future alert(String message) async {
await Get.defaultDialog(
title: '알림',
content: Text(
message,
textAlign: TextAlign.center,
),
textConfirm: '확인',
onConfirm: () => Get.back(),
confirmTextColor: Colors.white,
);
}