UpdatePrompter class

Constructors

UpdatePrompter({required UpdateEntity? updateEntity, required InstallCallback? onInstall})

Properties

downloadHandler ↔ dynamic
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isDownloading bool
getter/setter pair
maxRetryCount int
getter/setter pair
model DownloadModel
getter/setter pair
onInstall InstallCallback?
final
retryDialogName String
final
retryDownloadCount int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timer Timer?
getter/setter pair
updateEntity UpdateEntity?
版本更新信息
getter/setter pair

Methods

autoRetry() → void
dismissDialog() → void
doInstall() → void
安装
executeDownload(String url, {dynamic downloadHandler}) → void
getUpdateContent() String
handleDownload() → void
isRetryDialogShow() bool
isShow() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onUpdate() Future<void>
richLinkText(String first, String linkText, String last, String url) Widget
setUpdateEntity(UpdateEntity entity) → void
show(BuildContext context, {UpdateConfig? config}) → void
showDownloadFailDialog() → dynamic
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited