Files
flutter_wisetronic/lib/pages/attribute_selection.dart
2026-07-12 04:33:48 +08:00

24 lines
943 B
Dart

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