phase3: FIX arg-bang regex (missing \] in char class skipped subscripts). 235->183
This commit is contained in:
@@ -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