UpdateDialog constructor
const
UpdateDialog({
- Key? key,
- required UpdateInfo updateInfo,
- String? title,
- String? updateButtonText,
- String? laterButtonText,
- VoidCallback? onUpdate,
- VoidCallback? onLater,
- Color? primaryColor,
- Color? backgroundColor,
- TextStyle? titleStyle,
- TextStyle? contentStyle,
- Widget? customIcon,
- Widget? customLaterButton,
- Widget? customUpdateButton,
Implementation
const UpdateDialog({
super.key,
required this.updateInfo,
this.title,
this.updateButtonText,
this.laterButtonText,
this.onUpdate,
this.onLater,
this.primaryColor,
this.backgroundColor,
this.titleStyle,
this.contentStyle,
this.customIcon,
this.customLaterButton,
this.customUpdateButton,
});