widget/update_dialog library

Classes

UpdateDialogListener
Listens for available updates and presents them in a dialog.
UpdateDialogWidget
A widget that shows an update dialog.

Enums

MandatoryReadyToInstallBehavior
Controls mandatory ready-to-install behavior in dialog-based update UI.

Functions

showManualUpdateCheckResultDialog(BuildContext context, {required DesktopUpdaterController controller, required ManualUpdateCheckResult result, bool showAvailableUpdate = false, Color? backgroundColor, Color? iconColor, Color? shadowColor, Color? textColor, Color? buttonTextColor, MandatoryReadyToInstallBehavior mandatoryReadyToInstallBehavior = MandatoryReadyToInstallBehavior.promptToSaveFirst}) Future<void>
Shows optional Material feedback for a user-triggered update check result.
showUpdateDialog<T>(BuildContext context, {required DesktopUpdaterController controller, Color? backgroundColor, Color? iconColor, Color? shadowColor, MandatoryReadyToInstallBehavior mandatoryReadyToInstallBehavior = MandatoryReadyToInstallBehavior.promptToSaveFirst}) Future
Shows an update dialog.