|
|
|
import 'dart:async';
|
|
|
|
|
|
|
|
|
|
|
|
import 'dart:ui';
|
|
|
|
|
|
|
|
import 'package:cached_network_image/cached_network_image.dart';
|
|
...
|
...
|
@@ -14,12 +13,12 @@ import 'package:flutter_lunar_datetime_picker/flutter_lunar_datetime_picker.dart |
|
|
|
import 'package:flutter_picker_plus/flutter_picker_plus.dart';
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
|
|
|
|
|
|
|
|
import 'package:one_key/models/filter_btn_model.dart';
|
|
|
|
import 'package:one_key/models/remark.dart';
|
|
|
|
import 'package:one_key/models/seller_role_model.dart';
|
|
|
|
import 'package:one_key/models/table_list.dart';
|
|
|
|
|
|
|
|
import 'package:one_key/pages/my/function_upgrade_page.dart';
|
|
|
|
import 'package:one_key/pages/message/message_dialog_item_f.dart';
|
|
|
|
import 'package:one_key/provider/message_dialog_model.dart';
|
|
|
|
|
|
...
|
...
|
@@ -78,6 +77,18 @@ typedef ClickkListCallbac = void Function(List<String?> value); |
|
|
|
// };
|
|
|
|
|
|
|
|
class DialogUtil {
|
|
|
|
static void goFunctionUpgradePage(BuildContext context) {
|
|
|
|
final CollectStoreProvider collectStoreProvider =
|
|
|
|
Provider.of<CollectStoreProvider>(context, listen: false);
|
|
|
|
Navigator.push(
|
|
|
|
context,
|
|
|
|
MaterialPageRoute(
|
|
|
|
builder: (_) =>
|
|
|
|
FunctionUpgradePage(collectStoreProvider: collectStoreProvider),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
static List<Widget> labelSelectBtn(List<CustomerLabelSunModel> labelList,
|
|
|
|
state, List<String?> datas, ClickkListCallbac callback) {
|
|
|
|
List<Widget> temp = [];
|
|
...
|
...
|
@@ -1084,6 +1095,7 @@ class DialogUtil { |
|
|
|
static showSellerVersionEdateDialog(BuildContext context,
|
|
|
|
List<SellerVersionSunModel> showData, CustomCallBack callback,
|
|
|
|
{GestureTapCallback? onTapLeft, GestureTapCallback? onTapRight}) {
|
|
|
|
final BuildContext outerContext = context;
|
|
|
|
List<String?> names = showData.map((e) => e.vname).toList();
|
|
|
|
ScrollController controller = ScrollController();
|
|
|
|
return showDialog(
|
|
...
|
...
|
@@ -1204,17 +1216,12 @@ class DialogUtil { |
|
|
|
MyDivider(double.infinity, w(1),
|
|
|
|
color: MyColours.color_DBDBDB),
|
|
|
|
Row(
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
children: [
|
|
|
|
Expanded(
|
|
|
|
flex: 1,
|
|
|
|
child: RoundButton(
|
|
|
|
text: '确定',
|
|
|
|
// width: (ScreenUtil().screenWidth -
|
|
|
|
// ScreenUtil().setWidth(62) * 2) /
|
|
|
|
// 2,
|
|
|
|
height: ScreenUtil().setWidth(112),
|
|
|
|
// radius: ScreenUtil().setWidth(10),
|
|
|
|
gradientStart: Colors.transparent,
|
|
|
|
gradientEnd: Colors.transparent,
|
|
|
|
textColor: MyColours.color_515151,
|
|
...
|
...
|
@@ -1225,6 +1232,25 @@ class DialogUtil { |
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
})),
|
|
|
|
MyDivider(ScreenUtil().setWidth(2),
|
|
|
|
ScreenUtil().setWidth(112),
|
|
|
|
color: MyColours.color_DBDBDB),
|
|
|
|
Expanded(
|
|
|
|
flex: 1,
|
|
|
|
child: RoundButton(
|
|
|
|
text: '去购买',
|
|
|
|
height: ScreenUtil().setWidth(112),
|
|
|
|
gradientStart: Colors.transparent,
|
|
|
|
gradientEnd: Colors.transparent,
|
|
|
|
textColor: MyColours.color_438E93,
|
|
|
|
fontSize: 32,
|
|
|
|
onPressed: () {
|
|
|
|
if (Navigator.canPop(context)) {
|
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
DialogUtil.goFunctionUpgradePage(
|
|
|
|
outerContext);
|
|
|
|
})),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
])));
|
|
...
|
...
|
@@ -1419,6 +1445,7 @@ class DialogUtil { |
|
|
|
static showSellerVersionBuyDialog(
|
|
|
|
BuildContext context, String title, CustomCallBack callback,
|
|
|
|
{GestureTapCallback? onTapLeft, GestureTapCallback? onTapRight}) {
|
|
|
|
final BuildContext outerContext = context;
|
|
|
|
return showDialog(
|
|
|
|
context: context,
|
|
|
|
barrierDismissible: true,
|
|
...
|
...
|
@@ -1501,41 +1528,25 @@ class DialogUtil { |
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
})),
|
|
|
|
// MyDivider(ScreenUtil().setWidth(2),
|
|
|
|
// ScreenUtil().setWidth(112),
|
|
|
|
// color: MyColours.color_DBDBDB),
|
|
|
|
// Expanded(
|
|
|
|
// flex: 1,
|
|
|
|
// child: RoundButton(
|
|
|
|
// text: '前往开通',
|
|
|
|
// // width: (ScreenUtil().screenWidth -
|
|
|
|
// // ScreenUtil().setWidth(62) * 2) /
|
|
|
|
// // 2,
|
|
|
|
// height: ScreenUtil().setWidth(112),
|
|
|
|
// // radius: ScreenUtil().setWidth(10),
|
|
|
|
// gradientStart: Colors.transparent,
|
|
|
|
// gradientEnd: Colors.transparent,
|
|
|
|
// textColor: MyColours.color_438E93,
|
|
|
|
// fontSize: 32,
|
|
|
|
// onPressed: () {
|
|
|
|
// // Navigator.pop(context, {
|
|
|
|
// // 'spec': menuSunModel.specCan != null &&
|
|
|
|
// // menuSunModel.specCan.length > 0
|
|
|
|
// // ? menuSunModel.specCan
|
|
|
|
// // .where((element) =>
|
|
|
|
// // element.select == true)
|
|
|
|
// // .toList()
|
|
|
|
// // : [],
|
|
|
|
// // 'practice': menuSunModel.practice !=
|
|
|
|
// // null &&
|
|
|
|
// // menuSunModel.practice.length > 0
|
|
|
|
// // ? menuSunModel.practice
|
|
|
|
// // .where((element) =>
|
|
|
|
// // element.select == true)
|
|
|
|
// // .toList()
|
|
|
|
// // : []
|
|
|
|
// // });
|
|
|
|
// })),
|
|
|
|
MyDivider(ScreenUtil().setWidth(2),
|
|
|
|
ScreenUtil().setWidth(112),
|
|
|
|
color: MyColours.color_DBDBDB),
|
|
|
|
Expanded(
|
|
|
|
flex: 1,
|
|
|
|
child: RoundButton(
|
|
|
|
text: '去购买',
|
|
|
|
height: ScreenUtil().setWidth(112),
|
|
|
|
gradientStart: Colors.transparent,
|
|
|
|
gradientEnd: Colors.transparent,
|
|
|
|
textColor: MyColours.color_438E93,
|
|
|
|
fontSize: 32,
|
|
|
|
onPressed: () {
|
|
|
|
if (Navigator.canPop(context)) {
|
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
DialogUtil.goFunctionUpgradePage(
|
|
|
|
outerContext);
|
|
|
|
})),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
])));
|
|
...
|
...
|
@@ -11378,6 +11389,7 @@ class DialogUtil { |
|
|
|
VoidCallback? lCallback,
|
|
|
|
VoidCallback? rCallback}) async {
|
|
|
|
// bool isRed = content != '' ? false : true;
|
|
|
|
final BuildContext outerContext = context;
|
|
|
|
final action = await showDialog(
|
|
|
|
context: context,
|
|
|
|
barrierDismissible: false,
|
|
...
|
...
|
@@ -11464,15 +11476,13 @@ class DialogUtil { |
|
|
|
// Navigator.pop(context);
|
|
|
|
// }),
|
|
|
|
Row(
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
children: [
|
|
|
|
RoundButton(
|
|
|
|
text: lTitle,
|
|
|
|
width: (ScreenUtil().screenWidth -
|
|
|
|
ScreenUtil().setWidth(62) * 2) /
|
|
|
|
2,
|
|
|
|
3,
|
|
|
|
height: ScreenUtil().setWidth(112),
|
|
|
|
// radius: ScreenUtil().setWidth(10),
|
|
|
|
gradientStart: Colors.transparent,
|
|
|
|
gradientEnd: Colors.transparent,
|
|
|
|
textColor: MyColours.color_E6000000,
|
|
...
|
...
|
@@ -11490,9 +11500,8 @@ class DialogUtil { |
|
|
|
text: rTitle,
|
|
|
|
width: (ScreenUtil().screenWidth -
|
|
|
|
ScreenUtil().setWidth(62) * 2) /
|
|
|
|
2,
|
|
|
|
3,
|
|
|
|
height: ScreenUtil().setWidth(112),
|
|
|
|
// radius: ScreenUtil().setWidth(10),
|
|
|
|
gradientStart: Colors.transparent,
|
|
|
|
gradientEnd: Colors.transparent,
|
|
|
|
textColor: MyColours.color_438E93,
|
|
...
|
...
|
@@ -11503,6 +11512,26 @@ class DialogUtil { |
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
}),
|
|
|
|
MyDivider(ScreenUtil().setWidth(2),
|
|
|
|
ScreenUtil().setWidth(112),
|
|
|
|
color: MyColours.color_f3f3f3),
|
|
|
|
RoundButton(
|
|
|
|
text: '去购买',
|
|
|
|
width: (ScreenUtil().screenWidth -
|
|
|
|
ScreenUtil().setWidth(62) * 2) /
|
|
|
|
3,
|
|
|
|
height: ScreenUtil().setWidth(112),
|
|
|
|
gradientStart: Colors.transparent,
|
|
|
|
gradientEnd: Colors.transparent,
|
|
|
|
textColor: MyColours.color_438E93,
|
|
|
|
fontSize: 32,
|
|
|
|
onPressed: () {
|
|
|
|
if (Navigator.canPop(context)) {
|
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
DialogUtil.goFunctionUpgradePage(
|
|
|
|
outerContext);
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
)
|
|
|
|
],
|
|
...
|
...
|
@@ -11521,7 +11550,7 @@ class DialogUtil { |
|
|
|
{String title = "",
|
|
|
|
String content = "内容",
|
|
|
|
String lTitle = "我知道了",
|
|
|
|
String rTitle = "立即续费",
|
|
|
|
String rTitle = "去购买",
|
|
|
|
Color rColor = MyColours.color_438E93,
|
|
|
|
bool isBold = false,
|
|
|
|
bool isBoldContent = false,
|
|
...
|
...
|
@@ -11529,6 +11558,7 @@ class DialogUtil { |
|
|
|
VoidCallback? lCallback,
|
|
|
|
VoidCallback? rCallback}) async {
|
|
|
|
// bool isRed = content != '' ? false : true;
|
|
|
|
final BuildContext outerContext = context;
|
|
|
|
final action = await showDialog(
|
|
|
|
context: context,
|
|
|
|
barrierDismissible: false,
|
|
...
|
...
|
@@ -11600,62 +11630,46 @@ class DialogUtil { |
|
|
|
VEmptyView(66),
|
|
|
|
MyDivider(double.infinity, ScreenUtil().setWidth(2),
|
|
|
|
color: MyColours.color_f3f3f3),
|
|
|
|
RoundButton(
|
|
|
|
text: lTitle,
|
|
|
|
width: (ScreenUtil().screenWidth -
|
|
|
|
ScreenUtil().setWidth(62) * 2),
|
|
|
|
height: ScreenUtil().setWidth(112),
|
|
|
|
// radius: ScreenUtil().setWidth(10),
|
|
|
|
gradientStart: Colors.transparent,
|
|
|
|
gradientEnd: Colors.transparent,
|
|
|
|
textColor: MyColours.color_E6000000,
|
|
|
|
isBold: false,
|
|
|
|
fontSize: 32,
|
|
|
|
onPressed: () {
|
|
|
|
if (Navigator.canPop(context)) {
|
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
}),
|
|
|
|
// Row(
|
|
|
|
// // mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
// children: [
|
|
|
|
// RoundButton(
|
|
|
|
// text: lTitle,
|
|
|
|
// width: (ScreenUtil().screenWidth -
|
|
|
|
// ScreenUtil().setWidth(62) * 2) /
|
|
|
|
// 2,
|
|
|
|
// height: ScreenUtil().setWidth(112),
|
|
|
|
// // radius: ScreenUtil().setWidth(10),
|
|
|
|
// gradientStart: Colors.transparent,
|
|
|
|
// gradientEnd: Colors.transparent,
|
|
|
|
// textColor: MyColours.color_E6000000,
|
|
|
|
// isBold: false,
|
|
|
|
// fontSize: 32,
|
|
|
|
// onPressed: () {
|
|
|
|
// Navigator.pop(context);
|
|
|
|
// }),
|
|
|
|
// MyDivider(ScreenUtil().setWidth(2),
|
|
|
|
// ScreenUtil().setWidth(112),
|
|
|
|
// color: MyColours.color_f3f3f3),
|
|
|
|
// RoundButton(
|
|
|
|
// text: rTitle,
|
|
|
|
// width: (ScreenUtil().screenWidth -
|
|
|
|
// ScreenUtil().setWidth(62) * 2) /
|
|
|
|
// 2,
|
|
|
|
// height: ScreenUtil().setWidth(112),
|
|
|
|
// // radius: ScreenUtil().setWidth(10),
|
|
|
|
// gradientStart: Colors.transparent,
|
|
|
|
// gradientEnd: Colors.transparent,
|
|
|
|
// textColor: MyColours.color_438E93,
|
|
|
|
// fontSize: 32,
|
|
|
|
// onPressed: () {
|
|
|
|
// rCallback();
|
|
|
|
// Navigator.pop(
|
|
|
|
// context,
|
|
|
|
// );
|
|
|
|
// }),
|
|
|
|
// ],
|
|
|
|
// )
|
|
|
|
Row(
|
|
|
|
children: [
|
|
|
|
RoundButton(
|
|
|
|
text: lTitle,
|
|
|
|
width: (ScreenUtil().screenWidth -
|
|
|
|
ScreenUtil().setWidth(62) * 2) /
|
|
|
|
2,
|
|
|
|
height: ScreenUtil().setWidth(112),
|
|
|
|
gradientStart: Colors.transparent,
|
|
|
|
gradientEnd: Colors.transparent,
|
|
|
|
textColor: MyColours.color_E6000000,
|
|
|
|
isBold: false,
|
|
|
|
fontSize: 32,
|
|
|
|
onPressed: () {
|
|
|
|
if (Navigator.canPop(context)) {
|
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
}),
|
|
|
|
MyDivider(ScreenUtil().setWidth(2),
|
|
|
|
ScreenUtil().setWidth(112),
|
|
|
|
color: MyColours.color_f3f3f3),
|
|
|
|
RoundButton(
|
|
|
|
text: rTitle,
|
|
|
|
width: (ScreenUtil().screenWidth -
|
|
|
|
ScreenUtil().setWidth(62) * 2) /
|
|
|
|
2,
|
|
|
|
height: ScreenUtil().setWidth(112),
|
|
|
|
gradientStart: Colors.transparent,
|
|
|
|
gradientEnd: Colors.transparent,
|
|
|
|
textColor: MyColours.color_438E93,
|
|
|
|
fontSize: 32,
|
|
|
|
onPressed: () {
|
|
|
|
if (Navigator.canPop(context)) {
|
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
DialogUtil.goFunctionUpgradePage(
|
|
|
|
outerContext);
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
...
|
...
|
@@ -11680,6 +11694,7 @@ class DialogUtil { |
|
|
|
VoidCallback? lCallback,
|
|
|
|
VoidCallback? rCallback}) async {
|
|
|
|
// bool isRed = content != '' ? false : true;
|
|
|
|
final BuildContext outerContext = context;
|
|
|
|
final action = await showDialog(
|
|
|
|
context: context,
|
|
|
|
barrierDismissible: false,
|
|
...
|
...
|
@@ -11761,15 +11776,13 @@ class DialogUtil { |
|
|
|
// lCallback();
|
|
|
|
// }),
|
|
|
|
Row(
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
children: [
|
|
|
|
RoundButton(
|
|
|
|
text: lTitle,
|
|
|
|
width: (ScreenUtil().screenWidth -
|
|
|
|
ScreenUtil().setWidth(62) * 2) /
|
|
|
|
2,
|
|
|
|
3,
|
|
|
|
height: ScreenUtil().setWidth(112),
|
|
|
|
// radius: ScreenUtil().setWidth(10),
|
|
|
|
gradientStart: Colors.transparent,
|
|
|
|
gradientEnd: Colors.transparent,
|
|
|
|
textColor: MyColours.color_E6000000,
|
|
...
|
...
|
@@ -11788,9 +11801,8 @@ class DialogUtil { |
|
|
|
text: rTitle,
|
|
|
|
width: (ScreenUtil().screenWidth -
|
|
|
|
ScreenUtil().setWidth(62) * 2) /
|
|
|
|
2,
|
|
|
|
3,
|
|
|
|
height: ScreenUtil().setWidth(112),
|
|
|
|
// radius: ScreenUtil().setWidth(10),
|
|
|
|
gradientStart: Colors.transparent,
|
|
|
|
gradientEnd: Colors.transparent,
|
|
|
|
textColor: MyColours.color_438E93,
|
|
...
|
...
|
@@ -11801,6 +11813,26 @@ class DialogUtil { |
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
}),
|
|
|
|
MyDivider(ScreenUtil().setWidth(2),
|
|
|
|
ScreenUtil().setWidth(112),
|
|
|
|
color: MyColours.color_f3f3f3),
|
|
|
|
RoundButton(
|
|
|
|
text: '去购买',
|
|
|
|
width: (ScreenUtil().screenWidth -
|
|
|
|
ScreenUtil().setWidth(62) * 2) /
|
|
|
|
3,
|
|
|
|
height: ScreenUtil().setWidth(112),
|
|
|
|
gradientStart: Colors.transparent,
|
|
|
|
gradientEnd: Colors.transparent,
|
|
|
|
textColor: MyColours.color_438E93,
|
|
|
|
fontSize: 32,
|
|
|
|
onPressed: () {
|
|
|
|
if (Navigator.canPop(context)) {
|
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
DialogUtil.goFunctionUpgradePage(
|
|
|
|
outerContext);
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
)
|
|
|
|
],
|
|
...
|
...
|
@@ -11819,7 +11851,7 @@ class DialogUtil { |
|
|
|
{String title = "",
|
|
|
|
String content = "内容",
|
|
|
|
String lTitle = "我知道了",
|
|
|
|
String rTitle = "立即续费",
|
|
|
|
String rTitle = "去购买",
|
|
|
|
Color rColor = MyColours.color_438E93,
|
|
|
|
bool isBold = false,
|
|
|
|
bool isBoldContent = false,
|
|
...
|
...
|
@@ -11827,6 +11859,7 @@ class DialogUtil { |
|
|
|
VoidCallback? lCallback,
|
|
|
|
VoidCallback? rCallback}) async {
|
|
|
|
// bool isRed = content != '' ? false : true;
|
|
|
|
final BuildContext outerContext = context;
|
|
|
|
final action = await showDialog(
|
|
|
|
context: context,
|
|
|
|
barrierDismissible: false,
|
|
...
|
...
|
@@ -11892,64 +11925,47 @@ class DialogUtil { |
|
|
|
VEmptyView(66),
|
|
|
|
MyDivider(double.infinity, ScreenUtil().setWidth(2),
|
|
|
|
color: MyColours.color_f3f3f3),
|
|
|
|
RoundButton(
|
|
|
|
text: lTitle,
|
|
|
|
width: (ScreenUtil().screenWidth -
|
|
|
|
ScreenUtil().setWidth(62) * 2),
|
|
|
|
height: ScreenUtil().setWidth(112),
|
|
|
|
// radius: ScreenUtil().setWidth(10),
|
|
|
|
gradientStart: Colors.transparent,
|
|
|
|
gradientEnd: Colors.transparent,
|
|
|
|
textColor: MyColours.color_E6000000,
|
|
|
|
isBold: false,
|
|
|
|
fontSize: 32,
|
|
|
|
onPressed: () {
|
|
|
|
if (Navigator.canPop(context)) {
|
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
lCallback!();
|
|
|
|
}),
|
|
|
|
// Row(
|
|
|
|
// // mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
// children: [
|
|
|
|
// RoundButton(
|
|
|
|
// text: lTitle,
|
|
|
|
// width: (ScreenUtil().screenWidth -
|
|
|
|
// ScreenUtil().setWidth(62) * 2) /
|
|
|
|
// 2,
|
|
|
|
// height: ScreenUtil().setWidth(112),
|
|
|
|
// // radius: ScreenUtil().setWidth(10),
|
|
|
|
// gradientStart: Colors.transparent,
|
|
|
|
// gradientEnd: Colors.transparent,
|
|
|
|
// textColor: MyColours.color_E6000000,
|
|
|
|
// isBold: false,
|
|
|
|
// fontSize: 32,
|
|
|
|
// onPressed: () {
|
|
|
|
// Navigator.pop(context);
|
|
|
|
// lCallback();
|
|
|
|
// }),
|
|
|
|
// MyDivider(ScreenUtil().setWidth(2),
|
|
|
|
// ScreenUtil().setWidth(112),
|
|
|
|
// color: MyColours.color_f3f3f3),
|
|
|
|
// RoundButton(
|
|
|
|
// text: rTitle,
|
|
|
|
// width: (ScreenUtil().screenWidth -
|
|
|
|
// ScreenUtil().setWidth(62) * 2) /
|
|
|
|
// 2,
|
|
|
|
// height: ScreenUtil().setWidth(112),
|
|
|
|
// // radius: ScreenUtil().setWidth(10),
|
|
|
|
// gradientStart: Colors.transparent,
|
|
|
|
// gradientEnd: Colors.transparent,
|
|
|
|
// textColor: MyColours.color_438E93,
|
|
|
|
// fontSize: 32,
|
|
|
|
// onPressed: () {
|
|
|
|
// rCallback();
|
|
|
|
// Navigator.pop(
|
|
|
|
// context,
|
|
|
|
// );
|
|
|
|
// }),
|
|
|
|
// ],
|
|
|
|
// )
|
|
|
|
Row(
|
|
|
|
children: [
|
|
|
|
RoundButton(
|
|
|
|
text: lTitle,
|
|
|
|
width: (ScreenUtil().screenWidth -
|
|
|
|
ScreenUtil().setWidth(62) * 2) /
|
|
|
|
2,
|
|
|
|
height: ScreenUtil().setWidth(112),
|
|
|
|
gradientStart: Colors.transparent,
|
|
|
|
gradientEnd: Colors.transparent,
|
|
|
|
textColor: MyColours.color_E6000000,
|
|
|
|
isBold: false,
|
|
|
|
fontSize: 32,
|
|
|
|
onPressed: () {
|
|
|
|
if (Navigator.canPop(context)) {
|
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
lCallback?.call();
|
|
|
|
}),
|
|
|
|
MyDivider(ScreenUtil().setWidth(2),
|
|
|
|
ScreenUtil().setWidth(112),
|
|
|
|
color: MyColours.color_f3f3f3),
|
|
|
|
RoundButton(
|
|
|
|
text: rTitle,
|
|
|
|
width: (ScreenUtil().screenWidth -
|
|
|
|
ScreenUtil().setWidth(62) * 2) /
|
|
|
|
2,
|
|
|
|
height: ScreenUtil().setWidth(112),
|
|
|
|
gradientStart: Colors.transparent,
|
|
|
|
gradientEnd: Colors.transparent,
|
|
|
|
textColor: MyColours.color_438E93,
|
|
|
|
fontSize: 32,
|
|
|
|
onPressed: () {
|
|
|
|
if (Navigator.canPop(context)) {
|
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
DialogUtil.goFunctionUpgradePage(
|
|
|
|
outerContext);
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
...
|
...
|
@@ -13429,5 +13445,4 @@ class DialogUtil { |
|
|
|
},
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
} |
...
|
...
|
|