baseShowConfirm function

Future<bool> baseShowConfirm(
  1. String title,
  2. String content,
  3. dynamic onCancel()?,
  4. dynamic onConfirm()?,
)

Implementation

Future<bool> baseShowConfirm(
  String title,
  String content,
  Function()? onCancel,
  Function()? onConfirm,
) async {
  return await SmartDialog.show(
    builder: (context) => BaseConfirm(
      title: title,
      content: content,
      onCancel: onCancel,
      onConfirm: onConfirm,
    ),
  );
}