ES-185:fix margin

fix_some_issue
Elham Rababah 5 years ago
parent 3bc9b4e64a
commit deb42d4215

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

Loading…
Cancel
Save