@@ -26,24 +26,23 @@ class MenuPage extends StatelessWidget {
26
26
SizedBox (height: 16.0 ),
27
27
Text (
28
28
categoryString,
29
- style: Theme .of (context).textTheme.title ,
29
+ style: Theme .of (context).textTheme.body2 ,
30
30
textAlign: TextAlign .center,
31
31
),
32
- SizedBox (height: 10 .0 ),
32
+ SizedBox (height: 14 .0 ),
33
33
Container (
34
34
width: 70.0 ,
35
35
height: 2.0 ,
36
- color: Colors .pink[ 200 ] ,
36
+ color: Color ( 0xFFEAA4A4 ) ,
37
37
),
38
- SizedBox (height: 4.0 ),
39
38
],
40
39
)
41
40
: Container (
42
41
padding: EdgeInsets .symmetric (vertical: 16.0 ),
43
42
child: Text (
44
43
categoryString,
45
- style: Theme .of (context).textTheme.title .copyWith (
46
- color: Colors .brown[ 300 ] ,
44
+ style: Theme .of (context).textTheme.body2 .copyWith (
45
+ color: kShrineBrown900. withAlpha ( 153 ) ,
47
46
),
48
47
textAlign: TextAlign .center,
49
48
),
@@ -55,29 +54,12 @@ class MenuPage extends StatelessWidget {
55
54
Widget build (BuildContext context) {
56
55
var menuItems = < Widget > [];
57
56
_categories.forEach ((Category c) {
57
+ if (c == Category .none) {
58
+ return ;
59
+ }
58
60
menuItems.add (_buildCategory (c, context));
59
61
});
60
62
61
- menuItems.add (Center (
62
- child: Container (
63
- width: 70.0 ,
64
- height: 1.0 ,
65
- color: Colors .brown[200 ],
66
- ),
67
- ));
68
- menuItems.add (
69
- Container (
70
- padding: EdgeInsets .symmetric (vertical: 16.0 ),
71
- child: Text (
72
- 'MY ACCOUNT' ,
73
- style: Theme .of (context).textTheme.title.copyWith (
74
- color: Colors .brown[300 ],
75
- ),
76
- textAlign: TextAlign .center,
77
- ),
78
- ),
79
- );
80
-
81
63
return Center (
82
64
child: Container (
83
65
padding: EdgeInsets .only (top: 40.0 ),
0 commit comments