phase3: FIX arg-bang regex (missing \] in char class skipped subscripts). 235->183
This commit is contained in:
@@ -732,7 +732,7 @@ class MobileCheckoutState extends State<MobileCheckout> with SingleTickerProvide
|
||||
subtotal = 0.0;
|
||||
|
||||
for (var i = 0; i < cartInfo.productList!.length; i++) {
|
||||
subtotal += cartInfo.productList![i].totalPrice;
|
||||
subtotal += cartInfo.productList![i].totalPrice!;
|
||||
column.children.add(lineItem(cartInfo.productList![i]));
|
||||
}
|
||||
column.children.add(GestureDetector(
|
||||
@@ -838,7 +838,7 @@ class MobileCheckoutState extends State<MobileCheckout> with SingleTickerProvide
|
||||
Container(
|
||||
alignment: Alignment.centerRight,
|
||||
child: Text(
|
||||
S.of(context).extra_fee_token(cartInfo.extraFeeList![i].name, cartInfo.extraFeeList![i].rate),
|
||||
S.of(context).extra_fee_token(cartInfo.extraFeeList![i].name!, cartInfo.extraFeeList![i].rate!),
|
||||
style: TextStyle(
|
||||
color: Colors.grey,
|
||||
),
|
||||
@@ -1317,7 +1317,7 @@ class MobileCheckoutState extends State<MobileCheckout> with SingleTickerProvide
|
||||
child: Container(
|
||||
padding: EdgeInsets.only(left: 12.0, right: 12.0, top: 12.0, bottom: 12.0),
|
||||
child: Text(
|
||||
bookingDateTime.bookTimes![position].viewTime,
|
||||
bookingDateTime.bookTimes![position].viewTime!,
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
border: Border(
|
||||
@@ -1932,7 +1932,7 @@ class MobileCheckoutState extends State<MobileCheckout> with SingleTickerProvide
|
||||
),
|
||||
));
|
||||
for (int i = 0; i < cartInfo.businessInfo!.quickInputs!.length; i++) {
|
||||
String qi = cartInfo.businessInfo!.quickInputs![i].value;
|
||||
String qi = cartInfo.businessInfo!.quickInputs![i].value!;
|
||||
w.children.add(TextButton(
|
||||
child: Text(
|
||||
qi,
|
||||
|
||||
@@ -152,7 +152,7 @@ class MobileOrdersState extends State<MobileOrders> with SingleTickerProviderSta
|
||||
row.children.add(Expanded(
|
||||
child: Container(
|
||||
child: Text(
|
||||
order.cartInfo!.productList![0].name,
|
||||
order.cartInfo!.productList![0].name!,
|
||||
style: TextStyle(
|
||||
fontSize: 14.0,
|
||||
),
|
||||
|
||||
@@ -421,7 +421,7 @@ class MobileProductDetailPageState extends State<MobileProductDetailPage>
|
||||
images.add(productDetail.image!);
|
||||
for (var i = 0; i < productDetail.images!.length; i++) {
|
||||
// print('>>https:' + productDetail.images[i].image);
|
||||
images.add(productDetail.images![i].image);
|
||||
images.add(productDetail.images![i].image!);
|
||||
}
|
||||
|
||||
for (var i = 0; i < images.length; i++) {
|
||||
|
||||
@@ -286,7 +286,7 @@ class ShopState extends State<Shop>
|
||||
GestureDetector(
|
||||
child: Container(
|
||||
child: Util.showImage(
|
||||
_business.promoProducts![i].imagePath,
|
||||
_business.promoProducts![i].imagePath!,
|
||||
width: 110.0,
|
||||
),
|
||||
),
|
||||
@@ -296,7 +296,7 @@ class ShopState extends State<Shop>
|
||||
),
|
||||
Container(
|
||||
child: Text(
|
||||
_business.promoProducts![i].name,
|
||||
_business.promoProducts![i].name!,
|
||||
maxLines: 2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(fontSize: 14.0),
|
||||
@@ -306,7 +306,7 @@ class ShopState extends State<Shop>
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: <Widget>[
|
||||
ShowPrice(
|
||||
_business.promoProducts![i].price,
|
||||
_business.promoProducts![i].price!,
|
||||
currencySign: '\$',
|
||||
regularPrice: _business.promoProducts![i].regularPrice,
|
||||
),
|
||||
@@ -1102,7 +1102,7 @@ class ShopState extends State<Shop>
|
||||
pages.add(new GestureDetector(
|
||||
child: new Container(
|
||||
child: Util.showImage(
|
||||
_business.slideImages![i].imageUrl,
|
||||
_business.slideImages![i].imageUrl!,
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
),
|
||||
@@ -1214,7 +1214,7 @@ class ShopState extends State<Shop>
|
||||
|
||||
void _selectCategory(int index) {
|
||||
if (displayProductByCategoryClick && _categoryProducts[index].id! > 0) {
|
||||
categoryId = _categoryProducts[index].id;
|
||||
categoryId = _categoryProducts[index].id!;
|
||||
loadProducts();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user