showTwoActionAlert static method

Future showTwoActionAlert({
  1. BuildContext? context,
  2. String? title,
  3. String? message,
  4. String? cancelTitle,
  5. dynamic cancelHandle()?,
  6. String? okTitle,
  7. required dynamic okHandle(),
})

Implementation

static Future showTwoActionAlert({
  BuildContext? context,
  String? title,
  String? message,
  String? cancelTitle,
  Function()? cancelHandle,
  String? okTitle,
  required Function() okHandle,
}) {
  return showCancelOKAlert(
    context: context,
    barrierDismissible: true,
    title: title,
    message: message,
    cancelTitle: cancelTitle,
    cancelHandle: cancelHandle,
    okTitle: okTitle,
    okHandle: okHandle,
  );
}