SimpleUpgradeViewWidget constructor

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

Implementation

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