SimpleAppUpgradeWidget constructor
const
SimpleAppUpgradeWidget({
- Key? key,
- required String title,
- TextStyle? titleStyle,
- required List<
String> contents, - TextStyle? contentStyle,
- required String cancelText,
- TextStyle? cancelTextStyle,
- required String okText,
- TextStyle? okTextStyle,
- Widget? progressBar,
- required String downloadUrl,
- required String downloadApkName,
- bool force = false,
- VoidCallback? onCancel,
- VoidCallback? onOk,
- DownloadProgressCallback? downloadProgress,
- DownloadStatusChangeCallback? downloadStatusChange,
Implementation
const SimpleAppUpgradeWidget({Key? key, required this.title,
this.titleStyle,
required this.contents,
this.contentStyle,
required this.cancelText,
this.cancelTextStyle,
required this.okText,
this.okTextStyle,
this.progressBar,
required this.downloadUrl,
required this.downloadApkName,
this.force = false,
this.onCancel,
this.onOk,
this.downloadProgress,
this.downloadStatusChange}):super(key: key);