UpdateDialog constructor

const UpdateDialog({
  1. Key? key,
  2. required UpdateInfo updateInfo,
  3. String? title,
  4. String? updateButtonText,
  5. String? laterButtonText,
  6. VoidCallback? onUpdate,
  7. VoidCallback? onLater,
  8. Color? primaryColor,
  9. Color? backgroundColor,
  10. TextStyle? titleStyle,
  11. TextStyle? contentStyle,
  12. Widget? customIcon,
  13. Widget? customLaterButton,
  14. 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,
});