phase3: nullfix arg-bang handler (argument_type/invalid_assignment). 872 -> 621

This commit is contained in:
2026-07-25 18:16:40 +08:00
parent c21ccbd54d
commit a76b872966
65 changed files with 282 additions and 257 deletions

View File

@@ -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,),
),
);
}

View File

@@ -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(() {});

View File

@@ -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,
}

View File

@@ -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!,),
),
);
}