complexAckNackDialog function

Widget complexAckNackDialog(
  1. AppModel app,
  2. BuildContext context, {
  3. required String title,
  4. required Widget child,
  5. required OnSelection onSelection,
  6. String? ackButtonLabel,
  7. String? nackButtonLabel,
  8. bool? includeHeading = true,
  9. Key? key,
  10. double? widthFraction,
})

Implementation

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