SimpleUpgradeViewWidget constructor
const
SimpleUpgradeViewWidget({
- required String title,
- required List<
String> contents, - Key? key,
- TextStyle? titleStyle,
- TextStyle? contentStyle,
- String? cancelText,
- TextStyle? cancelTextStyle,
- String? okText,
- TextStyle? okTextStyle,
- List<
Color> ? okBackgroundColors, - Widget? progressBar,
- Color? progressBarColor,
- double borderRadius = 10,
- String? downloadUrl,
- Map<
String, dynamic> ? headers, - bool? beta = false,
- bool force = false,
- String? iosAppId,
- AppMarketInfo? appMarketInfo,
- VoidCallback? onCancel,
- VoidCallback? onOk,
- DownloadProgressCallback? downloadProgress,
- 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.headers,
this.beta = false,
this.force = false,
this.iosAppId,
this.appMarketInfo,
this.onCancel,
this.onOk,
this.downloadProgress,
this.downloadStatusChange,
});