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

@@ -11,7 +11,7 @@ import '../widgets/mobile/mobile_checkout.dart';
class Checkout extends StatelessWidget {
final int businessId;
const Checkout(this.businessId, {Key key}) :
const Checkout(this.businessId, {Key? key}) :
super(key: key);
@override
@@ -20,10 +20,10 @@ class Checkout extends StatelessWidget {
return ResponsiveBuilder(
builder: (context, sizingInformation) =>
ScreenTypeLayout(
mobile: MobileCheckout(businessId),
tablet: DesktopCheckout(businessId),
desktop: DesktopCheckout(businessId),
ScreenTypeLayout.builder(
mobile: (context) => MobileCheckout(businessId),
tablet: (context) => DesktopCheckout(businessId),
desktop: (context) => DesktopCheckout(businessId),
),
);
}