@@ -66,16 +66,7 @@ class HostAMealState extends State<HostAMeal> {
66
66
67
67
return Column (
68
68
children: < Widget > [
69
- SizedBox (
70
- height: 5 ,
71
- ),
72
69
OneCard (combo, args.user, args.restaurantInfo),
73
- Divider (
74
- color: Colors .orange,
75
- height: 5 ,
76
- indent: 35 ,
77
- endIndent: 35 ,
78
- )
79
70
],
80
71
);
81
72
},
@@ -100,10 +91,19 @@ class _OneCardState extends State<OneCard> {
100
91
@override
101
92
Widget build (BuildContext context) {
102
93
return Container (
94
+ margin: EdgeInsets .only (top: 5 , left: 5 , right: 5 ,bottom: 8 ),
103
95
height: (50 * widget.combo.items.length + 25 ).toDouble (),
104
- padding: EdgeInsets .only (left : 20 ),
96
+ padding: EdgeInsets .only (top : 15 ),
105
97
decoration: BoxDecoration (
106
- borderRadius: BorderRadius .circular (40 ), color: Color (0xffEAB543 )),
98
+ boxShadow: [
99
+ new BoxShadow (
100
+ color: Color (0xff7f8c8d ),
101
+ offset: new Offset (0.0 , 0.0 ),
102
+ blurRadius: 8.0 ,
103
+ spreadRadius: - 5.0 )
104
+ ],
105
+ color: Color (0xfff5f5f5 ),
106
+ borderRadius: BorderRadius .circular (10 )),
107
107
child: Card (
108
108
elevation: 0 ,
109
109
color: Colors .transparent,
@@ -164,30 +164,28 @@ class OneItemState extends State<OneItem> {
164
164
165
165
@override
166
166
Widget build (BuildContext context) {
167
- // TODO: implement build
168
167
return Stack (
169
168
children: < Widget > [
170
169
Align (
171
170
child: Text (
172
171
widget.combo.items[widget.index].item.toString (),
173
172
style: TextStyle (
174
- color: Color (0xfff5f5f5 ),
175
- fontSize: 18 ,
176
- fontFamily: 'SFDisplay' ,
177
- fontWeight: FontWeight .w400,
178
- ),
173
+ color: Color (0xff34495e ),
174
+ fontSize: 15 ,
175
+ fontFamily: 'SFDisplay' ,
176
+ fontWeight: FontWeight .w600),
179
177
),
180
- alignment: Alignment (- 1 , 0 ),
178
+ alignment: Alignment (- 0.8 , 0 ),
181
179
),
182
180
Align (
183
- child: Text (widget.combo.items[widget.index].price.toString (),
181
+ child: Text ('₹${ widget .combo .items [widget .index ].price .toString ()}' ,
184
182
style: TextStyle (
185
- color: Color (0xfff5f5f5 ),
186
- fontSize: 18 ,
187
- fontFamily: 'SFDisplay' ,
188
- fontWeight: FontWeight .w400 ,
189
- )) ,
190
- alignment: Alignment (0.3 , 0 )),
183
+ color: Color (0xff34495e ),
184
+ fontSize: 15 ,
185
+ fontFamily: 'SFDisplay' ,
186
+ fontWeight: FontWeight .w600) ,
187
+ ),
188
+ alignment: Alignment (0.4 , 0 )),
191
189
],
192
190
);
193
191
}
0 commit comments