phase3: nullfix arg-bang handler (argument_type/invalid_assignment). 872 -> 621
This commit is contained in:
@@ -17,9 +17,9 @@ class AttributeSelection extends StatelessWidget {
|
||||
return ResponsiveBuilder(
|
||||
builder: (context, sizingInformation) =>
|
||||
ScreenTypeLayout(
|
||||
mobile: MobileAttributeSelection(product: product, business: business, startKey: startKey,),
|
||||
tablet: MobileAttributeSelection(product: product, business: business, startKey: startKey,),
|
||||
desktop: MobileAttributeSelection(product: product, business: business, startKey: startKey,),
|
||||
mobile: MobileAttributeSelection(product: product!, business: business!, startKey: startKey,),
|
||||
tablet: MobileAttributeSelection(product: product!, business: business!, startKey: startKey,),
|
||||
desktop: MobileAttributeSelection(product: product!, business: business!, startKey: startKey,),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ class ContactUsState extends State<ContactUs> {
|
||||
void loadData() {
|
||||
HttpUtil.httpGet(
|
||||
'v1/get-business',
|
||||
businessId: widget.businessId,
|
||||
businessId: widget.businessId!,
|
||||
).then((value) {
|
||||
business = Business.fromJson(value);
|
||||
setState(() {});
|
||||
|
||||
@@ -60,7 +60,7 @@ class PlainPageState extends State<PlainPage> {
|
||||
void loadData() {
|
||||
HttpUtil.httpGet(
|
||||
'v1/special-page',
|
||||
businessId: widget.businessId,
|
||||
businessId: widget.businessId!,
|
||||
queryParameters: {
|
||||
'bid': widget.slug,
|
||||
}
|
||||
|
||||
@@ -24,9 +24,9 @@ class ProductDetailPage extends StatelessWidget {
|
||||
return ResponsiveBuilder(
|
||||
builder: (context, sizingInformation) =>
|
||||
ScreenTypeLayout(
|
||||
mobile: MobileProductDetailPage(business: business, product: product,),
|
||||
tablet: DesktopProductDetailPage(business: business, product: product,),
|
||||
desktop: DesktopProductDetailPage(business: business, product: product,),
|
||||
mobile: MobileProductDetailPage(business: business!, product: product!,),
|
||||
tablet: DesktopProductDetailPage(business: business!, product: product!,),
|
||||
desktop: DesktopProductDetailPage(business: business!, product: product!,),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user