ackNackDialog function
Widget
ackNackDialog(
- AppModel app,
- BuildContext context, {
- required String title,
- required String message,
- required OnSelection onSelection,
- String? ackButtonLabel,
- String? nackButtonLabel,
- bool? includeHeading = true,
- Key? key,
- double? widthFraction,
Implementation
Widget ackNackDialog(
AppModel app,
BuildContext context, {
required String title,
required String message,
required OnSelection onSelection,
String? ackButtonLabel,
String? nackButtonLabel,
bool? includeHeading = true,
Key? key,
double? widthFraction, // percentage of screen width
}) =>
StyleRegistry.registry()
.styleWithApp(app)
.frontEndStyle()
.dialogWidgetStyle()
.ackNackDialog(
app,
context,
title: title,
message: message,
onSelection: onSelection,
ackButtonLabel: ackButtonLabel,
nackButtonLabel: nackButtonLabel,
includeHeading: includeHeading,
key: key,
widthFraction: widthFraction,
);