stdYesNoAlert function
Implementation
Future<Object?> stdYesNoAlert(
final String body,
final String title,
final void Function(bool op) res, {
final double yesPadding = 110,
final double width = 450,
final double height = 200,
final BuildContext? context,
}) =>
backdropDialog(
YesNoAlertWidget(
'modal8',
body,
title,
width,
height,
'Sí',
'No',
yesPadding,
() => res(true),
() => res(false),
),
context,
);