68dd7ba8
liangchengyou
feat:首页主题颜色+已知问题修改
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:wow_english/common/extension/string_extension.dart';
import 'package:wow_english/route/route.dart';
class RepeatAfterContentDialog extends Dialog {
const RepeatAfterContentDialog(this.onLeftTap, {super.key});
final Function() onLeftTap;
@override
Widget build(BuildContext context) {
super.build(context);
return Center(
child: Column(
children: [
20.verticalSpace,
Image.asset(
'photo_pause'.assetPng,
height: 202.h,
width: 321.w,
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
GestureDetector(
onTap: () {
popPage();
onLeftTap();
},
child: Container(
decoration: BoxDecoration(
image: DecorationImage(
image:AssetImage('bacun'.assetPng)
)
),
height: 44.h,
width: 137.w,
alignment: Alignment.center,
child: Text(
'保存并退出',
textAlign: TextAlign.center,
style: TextStyle(
color: const Color(0xFF333333),
fontSize: 17.sp
),
),
),
),
33.horizontalSpace,
GestureDetector(
onTap: () {
popPage();
},
child: Container(
decoration: BoxDecoration(
image: DecorationImage(
image:AssetImage('back_study'.assetPng)
)
),
height: 44.h,
width: 137.w,
alignment: Alignment.center,
child: Text(
'返回继续学习',
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.white,
fontSize: 17.sp
),
),
),
)
],
)
],
),
);
}
}
|