Skip to content

Commit de5c149

Browse files
UI Changes: hostAMeal etc
1 parent c7a9ee4 commit de5c149

File tree

3 files changed

+227
-166
lines changed

3 files changed

+227
-166
lines changed

gromnombeta/lib/hostAMeal.dart

+23-25
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,7 @@ class HostAMealState extends State<HostAMeal> {
6666

6767
return Column(
6868
children: <Widget>[
69-
SizedBox(
70-
height: 5,
71-
),
7269
OneCard(combo, args.user, args.restaurantInfo),
73-
Divider(
74-
color: Colors.orange,
75-
height: 5,
76-
indent: 35,
77-
endIndent: 35,
78-
)
7970
],
8071
);
8172
},
@@ -100,10 +91,19 @@ class _OneCardState extends State<OneCard> {
10091
@override
10192
Widget build(BuildContext context) {
10293
return Container(
94+
margin: EdgeInsets.only(top: 5, left: 5, right: 5,bottom: 8),
10395
height: (50 * widget.combo.items.length + 25).toDouble(),
104-
padding: EdgeInsets.only(left: 20),
96+
padding: EdgeInsets.only(top: 15),
10597
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)),
107107
child: Card(
108108
elevation: 0,
109109
color: Colors.transparent,
@@ -164,30 +164,28 @@ class OneItemState extends State<OneItem> {
164164

165165
@override
166166
Widget build(BuildContext context) {
167-
// TODO: implement build
168167
return Stack(
169168
children: <Widget>[
170169
Align(
171170
child: Text(
172171
widget.combo.items[widget.index].item.toString(),
173172
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),
179177
),
180-
alignment: Alignment(-1, 0),
178+
alignment: Alignment(-0.8, 0),
181179
),
182180
Align(
183-
child: Text(widget.combo.items[widget.index].price.toString(),
181+
child: Text('₹${widget.combo.items[widget.index].price.toString()}',
184182
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)),
191189
],
192190
);
193191
}

0 commit comments

Comments
 (0)