diff --git a/lib/store/store_view/product_meals_sku.dart b/lib/store/store_view/product_meals_sku.dart index f19352ae..68890544 100644 --- a/lib/store/store_view/product_meals_sku.dart +++ b/lib/store/store_view/product_meals_sku.dart @@ -762,7 +762,7 @@ class _ProductMealsSku extends State { color: Color(0xFFF65720), ), ), - if(productInfoList.skuInfoList[0].skuPrice.contains(".")) + if((productInfoList.skuInfoList[0].skuPrice??"").contains(".")) TextSpan( text:".", style: TextStyle( @@ -771,7 +771,7 @@ class _ProductMealsSku extends State { color: Color(0xFFF65720), ), ), - if(productInfoList.skuInfoList[0].skuPrice.contains(".")) + if((productInfoList.skuInfoList[0].skuPrice ?? "").contains(".")) TextSpan( text:(productInfoList.skuInfoList[0].skuPrice ?? "").split(".")[1], style: TextStyle(