showConfirmDialog static method
void
showConfirmDialog({
- required BuildContext context,
- required String message,
- required String title,
Implementation
static void showConfirmDialog({
required BuildContext context,
required String message,
required String title,
}) {
Dialogs.materialDialog(
msg: message,
title: title,
color: Colors.white,
context: context,
actions: [
SizedBox(
width: 50,
),
IconsOutlineButton(
onPressed: () {
Navigator.of(context).pop();
// NavigatorService.pushNamedAndRemoveUntil(
// AppRoutes.f2MainviewContainerScreen);
},
text: 'Ok',
textStyle: TextStyle(color: Colors.white),
color: Colors.green,
),
SizedBox(width: 50)
]);
return;
}