openAckNackDialog function
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 = true,
Implementation
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 = true,
}) =>
StyleRegistry.registry()
.styleWithApp(app)
.frontEndStyle()
.dialogStyle()
.openAckNackDialog(
app,
context, name, title: title,
message: message,
onSelection: onSelection,
ackButtonLabel: ackButtonLabel,
nackButtonLabel: nackButtonLabel,
widthFraction: widthFraction, // percentage of screen width
includeHeading: includeHeading,
);