showOKDialog method
dynamic
showOKDialog({})
Implementation
showOKDialog(
{required String message,
required String title,
String? textOK,
VoidCallback? onOKPressed,
Widget? content,
bool barrierDismissible = false}) {
Get.defaultDialog(
title: title,
middleText: message,
barrierDismissible: barrierDismissible,
backgroundColor: Get.theme.colorScheme.background,
content: content,
confirm: _getDialogBoxButton(textOK ?? LocaleKeys.generic_ok.tr,
onOKPressed ?? () => Get.back()),
radius: 8);
}