showUpdateProblemReportDialog function

Future<void> showUpdateProblemReportDialog(
  1. BuildContext context, {
  2. required DesktopUpdaterController controller,
  3. required UpdateProblemReport report,
})

Shows a Material problem report dialog for a failed update.

Implementation

Future<void> showUpdateProblemReportDialog(
  BuildContext context, {
  required DesktopUpdaterController controller,
  required UpdateProblemReport report,
}) {
  return showDialog<void>(
    context: context,
    builder: (context) {
      return UpdateProblemReportDialog(
        controller: controller,
        report: report,
      );
    },
  );
}