@@ -499,19 +499,20 @@ Widget wsCardCartItem(BuildContext context,
499499 mainAxisAlignment: MainAxisAlignment .spaceBetween,
500500 children: < Widget > [
501501 Text (
502- (cartLineItem.stockStatus == "outofstock"
503- ? trans (context, "Out of stock" )
504- : trans (context, "In Stock" )),
505- style: (cartLineItem.stockStatus == "outofstock"
506- ? Theme .of (context).textTheme.caption
507- : Theme .of (context)
508- .primaryTextTheme
509- .bodyText2)),
502+ (cartLineItem.stockStatus == "outofstock"
503+ ? trans (context, "Out of stock" )
504+ : trans (context, "In Stock" )),
505+ style: (cartLineItem.stockStatus == "outofstock"
506+ ? Theme .of (context).textTheme.caption
507+ : Theme .of (context).primaryTextTheme.bodyText2),
508+ ),
510509 Text (
511- formatDoubleCurrency (
512- total: parseWcPrice (cartLineItem.total)),
513- style: Theme .of (context).primaryTextTheme.subtitle1,
514- textAlign: TextAlign .center)
510+ formatDoubleCurrency (
511+ total: parseWcPrice (cartLineItem.total),
512+ ),
513+ style: Theme .of (context).primaryTextTheme.subtitle1,
514+ textAlign: TextAlign .center,
515+ )
515516 ],
516517 ),
517518 ],
0 commit comments