AppUpgrade class
des:App 升级组件
Constructors
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
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}) → dynamic -
App 升级组件入口函数,在
initState
方法中调用此函数即可。不要在MaterialApp控件的initState
方法中调用, 需要在Scaffold的body
控件内调用。