SimpleUpgradeViewWidget constructor

const SimpleUpgradeViewWidget({
  1. required String title,
  2. required List<String> contents,
  3. Key? key,
  4. TextStyle? titleStyle,
  5. TextStyle? contentStyle,
  6. String? cancelText,
  7. TextStyle? cancelTextStyle,
  8. String? okText,
  9. TextStyle? okTextStyle,
  10. List<Color>? okBackgroundColors,
  11. Widget? progressBar,
  12. Color? progressBarColor,
  13. double borderRadius = 10,
  14. String? downloadUrl,
  15. bool force = false,
  16. String? iosAppId,
  17. AppMarketInfo? appMarketInfo,
  18. VoidCallback? onCancel,
  19. VoidCallback? onOk,
  20. DownloadProgressCallback? downloadProgress,
  21. DownloadStatusChangeCallback? downloadStatusChange,
})

Implementation

const SimpleUpgradeViewWidget({
  required this.title,
  required this.contents,
  super.key,
  this.titleStyle,
  this.contentStyle,
  this.cancelText,
  this.cancelTextStyle,
  this.okText,
  this.okTextStyle,
  this.okBackgroundColors,
  this.progressBar,
  this.progressBarColor,
  this.borderRadius = 10,
  this.downloadUrl,
  this.force = false,
  this.iosAppId,
  this.appMarketInfo,
  this.onCancel,
  this.onOk,
  this.downloadProgress,
  this.downloadStatusChange,
});