File tree Expand file tree Collapse file tree 1 file changed +11
-26
lines changed Expand file tree Collapse file tree 1 file changed +11
-26
lines changed Original file line number Diff line number Diff line change @@ -12,27 +12,15 @@ class DeleteBadgeDialog extends StatelessWidget {
12
12
shape: RoundedRectangleBorder (
13
13
borderRadius: BorderRadius .circular (5. r),
14
14
),
15
- child: Container (
16
- height: 110. h,
17
- width: 300. w,
18
- decoration: BoxDecoration (
19
- color: Colors .white,
20
- borderRadius: BorderRadius .circular (5. r),
21
- ),
15
+ child: Padding (
16
+ padding: EdgeInsets .symmetric (vertical: 16. h, horizontal: 16. w),
22
17
child: Column (
18
+ mainAxisSize: MainAxisSize .min,
23
19
children: [
24
- SizedBox (
25
- height: 10. h,
26
- ),
27
20
Row (
28
21
children: [
29
- SizedBox (
30
- width: 20 ,
31
- ),
32
22
Icon (Icons .delete, color: Colors .black),
33
- SizedBox (
34
- width: 10 ,
35
- ),
23
+ SizedBox (width: 10 ),
36
24
Text (
37
25
'Delete' ,
38
26
style: TextStyle (
@@ -42,21 +30,18 @@ class DeleteBadgeDialog extends StatelessWidget {
42
30
),
43
31
],
44
32
),
45
- SizedBox (
46
- height: 7. h,
47
- ),
33
+ SizedBox (height: 12. h),
48
34
Row (
49
35
children: [
50
- SizedBox (
51
- width: 20 ,
36
+ Expanded (
37
+ child: Text (
38
+ 'Are you sure want to delete this badge?' ,
39
+ style: TextStyle (fontSize: 14. sp),
40
+ ),
52
41
),
53
- Text ('Are you sure want to delete this badge?' ,
54
- style: TextStyle (fontSize: 14. sp)),
55
42
],
56
43
),
57
- SizedBox (
58
- height: 10. h,
59
- ),
44
+ SizedBox (height: 16. h),
60
45
Row (
61
46
mainAxisAlignment: MainAxisAlignment .end,
62
47
children: [
You can’t perform that action at this time.
0 commit comments