updateDialogBuilder property

void Function({required String appVersion, required String? changelog, required void checkForUpdate(), required BuildContext context, required void dismissUpdate(), required String? latestVersion, required Future<void> launchInstaller(), required void openDialog(), required void startUpdate(), required UpdatStatus status})? updateDialogBuilder
final

This Function can be used to override the default dialog shown when there is a new version available. You must call showDialog yourself.

Implementation

final void Function({
  required BuildContext context,
  required String? latestVersion,
  required String appVersion,
  required UpdatStatus status,
  required String? changelog,
  required void Function() checkForUpdate,
  required void Function() openDialog,
  required void Function() startUpdate,
  required Future<void> Function() launchInstaller,
  required void Function() dismissUpdate,
})? updateDialogBuilder;