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

@@ -8,19 +8,16 @@ import '../models/product.dart';
class AttributeSelection extends StatelessWidget {
final Product product;
final Business business;
final GlobalKey startKey;
final GlobalKey? startKey;
const AttributeSelection({Key key, this.product, this.business, this.startKey}) : super(key: key);
const AttributeSelection({Key? key, required this.product, required this.business, this.startKey}) : super(key: key);
@override
Widget build(BuildContext context) {
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,),
),
return ScreenTypeLayout.builder(
mobile: (context) => MobileAttributeSelection(product: product, business: business, startKey: startKey),
tablet: (context) => MobileAttributeSelection(product: product, business: business, startKey: startKey),
desktop: (context) => MobileAttributeSelection(product: product, business: business, startKey: startKey),
);
}