|
|
|
@ -742,7 +742,8 @@ class _ProductMealsSku extends State<ProductMealsSku> {
|
|
|
|
|
fontWeight: FontWeight.w600, |
|
|
|
|
), |
|
|
|
|
),), |
|
|
|
|
Padding(padding:EdgeInsets.only(left:8.w,right:8.w), |
|
|
|
|
if(double.tryParse(productInfoList.skuInfoList[0].skuPrice ?? 0) > 0) |
|
|
|
|
Padding(padding:EdgeInsets.only(left:8.w,right:8.w), |
|
|
|
|
child:Text.rich( |
|
|
|
|
TextSpan( |
|
|
|
|
children: [ |
|
|
|
@ -755,14 +756,14 @@ class _ProductMealsSku extends State<ProductMealsSku> {
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
TextSpan( |
|
|
|
|
text:(productInfoList.skuInfoList[0].skuPrice ?? "").split(".")[0], |
|
|
|
|
text:(productInfoList.skuInfoList[0].skuPrice ?? "0").split(".")[0], |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontSize: 18.sp, |
|
|
|
|
color: Color(0xFFF65720), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
if((productInfoList.skuInfoList[0].skuPrice??"").contains(".")) |
|
|
|
|
if((productInfoList.skuInfoList[0].skuPrice??"0").contains(".")) |
|
|
|
|
TextSpan( |
|
|
|
|
text:".", |
|
|
|
|
style: TextStyle( |
|
|
|
|