|
...
|
...
|
@@ -5879,28 +5879,39 @@ class DialogUtil { |
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
children: <Widget>[
|
|
|
|
Container(
|
|
|
|
margin: EdgeInsets.only(
|
|
|
|
top: ScreenUtil().setWidth(31),
|
|
|
|
bottom: ScreenUtil().setWidth(2)),
|
|
|
|
// margin: EdgeInsets.only(
|
|
|
|
// // top: ScreenUtil().setWidth(31),
|
|
|
|
// bottom: ScreenUtil().setWidth(2)),
|
|
|
|
width: double.infinity,
|
|
|
|
child: Stack(
|
|
|
|
alignment: Alignment.center,
|
|
|
|
children: <Widget>[
|
|
|
|
Text(
|
|
|
|
Container(
|
|
|
|
// margin: EdgeInsets.only(
|
|
|
|
// top: ScreenUtil().setWidth(21),
|
|
|
|
// bottom: ScreenUtil().setWidth(2)),
|
|
|
|
child: Text(
|
|
|
|
"您有一条新的消息",
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_333333,
|
|
|
|
fontSize: ScreenUtil().setSp(32)),
|
|
|
|
),
|
|
|
|
Positioned(
|
|
|
|
right: ScreenUtil().setWidth(23),
|
|
|
|
)),
|
|
|
|
Align(
|
|
|
|
alignment: Alignment.centerRight,
|
|
|
|
child: GestureDetector(
|
|
|
|
onTap: () {
|
|
|
|
Navigator.of(dialogContext).pop();
|
|
|
|
},
|
|
|
|
child: Padding(
|
|
|
|
padding: EdgeInsets.all(
|
|
|
|
ScreenUtil().setWidth(12)),
|
|
|
|
child: Container(
|
|
|
|
color: messageModel.messages.length > 3
|
|
|
|
? MyColours.color_24A4A8
|
|
|
|
: MyColours.color_ffffff,
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
top: ScreenUtil().setWidth(31),
|
|
|
|
left: ScreenUtil().setWidth(42),
|
|
|
|
right: ScreenUtil().setWidth(33),
|
|
|
|
bottom: ScreenUtil().setWidth(38),
|
|
|
|
),
|
|
|
|
child: Image.asset(
|
|
|
|
"assets/close.png",
|
|
|
|
width: ScreenUtil().setWidth(28),
|
|
...
|
...
|
@@ -8368,10 +8379,10 @@ class DialogUtil { |
|
|
|
color: rColor)),
|
|
|
|
onPressed: () {
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
|
|
|
|
if (rCallback != null) {
|
|
|
|
rCallback();
|
|
|
|
}
|
|
|
|
|
|
|
|
if (rCallback != null) {
|
|
|
|
rCallback();
|
|
|
|
}
|
|
|
|
},
|
|
|
|
),
|
|
|
|
],
|
...
|
...
|
|