|
...
|
...
|
@@ -29,6 +29,7 @@ import '../app.dart'; |
|
|
|
import '../utils/dialog_util.dart';
|
|
|
|
import 'package:device_utils_my/device_utils_my.dart';
|
|
|
|
|
|
|
|
import '../widgets/fixed_text.dart';
|
|
|
|
|
|
|
|
typedef VeisonCallback = void Function(Version value);
|
|
|
|
|
|
...
|
...
|
@@ -175,14 +176,18 @@ class UpdateModelMy { |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: <Widget>[
|
|
|
|
Container(
|
|
|
|
constraints: BoxConstraints(
|
|
|
|
maxHeight: ScreenUtil().screenHeight -
|
|
|
|
ScreenUtil().setWidth(350)),
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
horizontal: ScreenUtil().setWidth(60)),
|
|
|
|
child: Column(
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
child: Column(
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: <Widget>[
|
|
|
|
Center(
|
|
|
|
child: Text(
|
|
|
|
child: FixedText(
|
|
|
|
"${version.name}版本更新啦",
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: ScreenUtil().setSp(36),
|
|
...
|
...
|
@@ -190,14 +195,14 @@ class UpdateModelMy { |
|
|
|
),
|
|
|
|
),
|
|
|
|
VEmptyView(20),
|
|
|
|
Text(
|
|
|
|
FixedText(
|
|
|
|
version.content,
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: ScreenUtil().setSp(28),
|
|
|
|
color: MyColours.color_353535),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
),
|
|
|
|
VEmptyView(40),
|
|
|
|
MyDivider(double.infinity, ScreenUtil().setWidth(1)),
|
|
...
|
...
|
@@ -210,7 +215,7 @@ class UpdateModelMy { |
|
|
|
onTap: () {
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
},
|
|
|
|
child: Text(
|
|
|
|
child: FixedText(
|
|
|
|
"下次一定",
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: ScreenUtil().setSp(34),
|
|
...
|
...
|
@@ -238,7 +243,7 @@ class UpdateModelMy { |
|
|
|
"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=1510697490");
|
|
|
|
}
|
|
|
|
},
|
|
|
|
child: Text(
|
|
|
|
child: FixedText(
|
|
|
|
"立即更新",
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: ScreenUtil().setSp(34),
|
...
|
...
|
|