|
...
|
...
|
@@ -685,7 +685,7 @@ class DialogUtil { |
|
|
|
|
|
|
|
static Future openAlertDialog(BuildContext context, String title,
|
|
|
|
String content, String btnTitle, double height,
|
|
|
|
{GestureTapCallback onTap}) async {
|
|
|
|
{GestureTapCallback onTap, double fontSize = 36}) async {
|
|
|
|
final action = await showDialog(
|
|
|
|
context: context,
|
|
|
|
barrierDismissible: true,
|
|
...
|
...
|
@@ -708,7 +708,7 @@ class DialogUtil { |
|
|
|
alignment: Alignment.center,
|
|
|
|
child: Text(title,
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: ScreenUtil().setSp(36),
|
|
|
|
fontSize: ScreenUtil().setSp(fontSize),
|
|
|
|
color: MyColours.color_353535)),
|
|
|
|
),
|
|
|
|
VEmptyView(20),
|
|
...
|
...
|
@@ -728,7 +728,7 @@ class DialogUtil { |
|
|
|
content,
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_353535,
|
|
|
|
fontSize: ScreenUtil().setSp(28),
|
|
|
|
fontSize: ScreenUtil().setSp(30),
|
|
|
|
),
|
|
|
|
strutStyle: StrutStyle(
|
|
|
|
forceStrutHeight: true,
|
|
...
|
...
|
@@ -747,7 +747,7 @@ class DialogUtil { |
|
|
|
child: Text(
|
|
|
|
btnTitle,
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_2bb5b7,
|
|
|
|
color: MyColours.color_199095,
|
|
|
|
fontSize: ScreenUtil().setWidth(34)),
|
|
|
|
),
|
|
|
|
),
|
|
...
|
...
|
@@ -853,6 +853,7 @@ class DialogUtil { |
|
|
|
InkWell(
|
|
|
|
child: Container(
|
|
|
|
height: ScreenUtil().setWidth(47 * 2),
|
|
|
|
width: ScreenUtil().setWidth(135 * 2),
|
|
|
|
alignment: Alignment.center,
|
|
|
|
child: Text(
|
|
|
|
"信息有误",
|
|
...
|
...
|
@@ -873,6 +874,7 @@ class DialogUtil { |
|
|
|
InkWell(
|
|
|
|
child: Container(
|
|
|
|
height: ScreenUtil().setWidth(47 * 2),
|
|
|
|
width: ScreenUtil().setWidth(135 * 2),
|
|
|
|
alignment: Alignment.center,
|
|
|
|
child: Text(
|
|
|
|
"确认无误",
|
...
|
...
|
|