
import 'package:flutter/material.dart';
import 'package:flutter_wisetronic/widgets/mobile/mobile_attribute_selection.dart';
import 'package:responsive_builder/responsive_builder.dart';
import '../models/business.dart';
import '../models/product.dart';

class AttributeSelection extends StatelessWidget {
  final Product product;
  final Business business;
  final GlobalKey? startKey;

  const AttributeSelection({Key? key, required this.product, required this.business, this.startKey}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    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),
    );
  }

}