openAckNackDialog method
Future<void>
openAckNackDialog(
- AppModel app,
- BuildContext context,
- String name, {
- required String title,
- required String message,
- required OnSelection onSelection,
- String? ackButtonLabel,
- String? nackButtonLabel,
- double? widthFraction,
- bool? includeHeading,
override
Implementation
@override
Future<void> openAckNackDialog(
AppModel app,
BuildContext context,
String name, {
required String title,
required String message,
required OnSelection onSelection,
String? ackButtonLabel,
String? nackButtonLabel,
double? widthFraction, // percentage of screen width
bool? includeHeading,
}) async =>
await DialogStatefulWidgetHelper.openIt(
context,
name,
_monaStyle.frontEndStyle().dialogWidgetStyle().ackNackDialog(
app,
context,
title: title,
message: message,
onSelection: onSelection,
ackButtonLabel: ackButtonLabel,
nackButtonLabel: nackButtonLabel,
widthFraction: widthFraction,
includeHeading: includeHeading,
));