|
|
|
|
@ -117,16 +117,22 @@ class OrderInfoCard extends StatelessWidget {
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
margin: EdgeInsets.only(bottom: 8, left: 20),
|
|
|
|
|
color: order.statusID == 2 ? Colors.green : Colors.red,
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: const EdgeInsets.all(5.0),
|
|
|
|
|
child: Text(
|
|
|
|
|
order.description,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
fontSize: 15.0,
|
|
|
|
|
margin: EdgeInsets.only(bottom: 12, left: 10),
|
|
|
|
|
child: RoundedContainer(
|
|
|
|
|
// margin: EdgeInsets.only(bottom: 8, left: 20),
|
|
|
|
|
margin: 4,
|
|
|
|
|
showShadow: false,
|
|
|
|
|
backgroundColor:
|
|
|
|
|
order.statusID == 2 ? Colors.green : Colors.red,
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: const EdgeInsets.all(5.0),
|
|
|
|
|
child: Text(
|
|
|
|
|
order.description,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
fontSize: 15.0,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
|