code reformat

logut
hussam al-habibeh 6 years ago
parent 5d53500e66
commit e3dbfe8dcb

@ -142,9 +142,12 @@ class ItemsQuantitiesList {
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['ItemName'] = this.itemName; data['ItemName'] = this.itemName;
data['ProductID'] = this.productID; data['ProductID'] = this.productID;
data['Quantity'] = this.quantity; data['Quantity'] = this.quantity;
return data; return data;
} }
} }

@ -35,6 +35,7 @@ class OrdersService extends BaseService {
} catch (e) { } catch (e) {
hasError = true; hasError = true;
super.error = error; super.error = error;
throw e; throw e;
} }
} }

@ -389,9 +389,10 @@ class _DashboardScreenState extends State<DashboardScreen> {
Text( Text(
model.orders[index].mobileNumber, model.orders[index].mobileNumber,
style: TextStyle( style: TextStyle(
color: Color(0xff30B7B9), color: Color(0xff30B7B9),
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
fontSize: 15.0), fontSize: 15.0,
),
), ),
Expanded( Expanded(
child: Text( child: Text(

Loading…
Cancel
Save