This commit is contained in:
2026-07-12 04:33:48 +08:00
parent f8a90ad305
commit e7ce0f7bae
151 changed files with 2765 additions and 2947 deletions

View File

@@ -13,7 +13,7 @@ class ProductDetailPage extends StatelessWidget {
final Business business;
final Product product;
const ProductDetailPage({this.business, this.product, Key key}) :
const ProductDetailPage({required this.business, required this.product, Key? key}) :
super(key: key);
@@ -23,10 +23,10 @@ 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,),
ScreenTypeLayout.builder(
mobile: (context) => MobileProductDetailPage(business: business, product: product,),
tablet: (context) => DesktopProductDetailPage(business: business, product: product,),
desktop: (context) => DesktopProductDetailPage(business: business, product: product,),
),
);
}