AppUpgrade class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
appUpgrade(BuildContext context, Future<AppUpgradeInfo?> future, {TextStyle? titleStyle, TextStyle? contentStyle, String? cancelText, TextStyle? cancelTextStyle, String? okText, TextStyle? okTextStyle, List<Color>? okBackgroundColors, Color? progressBarColor, double borderRadius = 20.0, String? iosAppId, AppMarketInfo? appMarketInfo, VoidCallback? onCancel, VoidCallback? onOk, DownloadProgressCallback? downloadProgress, DownloadStatusChangeCallback? downloadStatusChange, bool isDark = false})
→ dynamic
-
-
getInstallMarket({List<String>? marketPackageNames})
→ Future<List<String>>
-
获取本机安装的应用市场
-
installAppForAndroid(String path)
→ Future<void>
-
安装 apk
-
toAppStore(String appId)
→ Future<void>
-
跳转 App Store
-
toMarket({AppMarketInfo? appMarketInfo})
→ Future<void>
-
跳转应用市场