At the bottom of the screen, coupon code text form field and the apply button has mis-alignment. How do I set them these widgets with the same height and align perfectly?
Row(
mainAxisAlignment: MainAxisAlignment.end,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Container(
width: 150,
//color: Colors.blue,
child: TextFormField(
decoration: new InputDecoration(
hintText: 'Coupon Code',
contentPadding: EdgeInsets.all(8),
isDense: true,
border: new OutlineInputBorder(
borderSide: new BorderSide(color: Colors.grey)),
),
),
),
Container(
//color: Colors.green,
padding: EdgeInsets.fromLTRB(15, 0, 0, 15),
child: RaisedButton(
onPressed: () {},
color: Colors.grey[400],
textColor: Colors.black,
child: Text('Apply', style: TextStyle(fontSize: 12)),
),
),
],
)