final
This commit is contained in:
@@ -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),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user