showUpdateDialog<T> function
Future
showUpdateDialog<T>(
- BuildContext context, {
- required DesktopUpdaterController controller,
- Color? backgroundColor,
- Color? iconColor,
- Color? shadowColor,
Shows an update dialog.
Implementation
Future showUpdateDialog<T>(
BuildContext context, {
required DesktopUpdaterController controller,
Color? backgroundColor,
Color? iconColor,
Color? shadowColor,
}) {
return showDialog(
context: context,
// barrierDismissible: controller.isMandatory == false,
builder: (context) {
return UpdateDialogWidget(
controller: controller,
backgroundColor: backgroundColor,
iconColor: iconColor,
shadowColor: shadowColor,
);
},
);
}