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 @@ class OrderDetail extends StatelessWidget {
final int orderId;
final bool fromOrders;
const OrderDetail(this.orderId, {this.fromOrders = false, Key key}) :
const OrderDetail(this.orderId, {this.fromOrders = false, Key? key}) :
super(key: key);
@override
@@ -20,10 +20,10 @@ class OrderDetail extends StatelessWidget {
return ResponsiveBuilder(
builder: (context, sizingInformation) =>
ScreenTypeLayout(
mobile: MobileOrderDetail(orderId, fromOrders: fromOrders,),
tablet: DesktopOrderDetail(orderId, fromOrders: fromOrders,),
desktop: DesktopOrderDetail(orderId, fromOrders: fromOrders,),
ScreenTypeLayout.builder(
mobile: (context) => MobileOrderDetail(orderId, fromOrders: fromOrders,),
tablet: (context) => DesktopOrderDetail(orderId, fromOrders: fromOrders,),
desktop: (context) => DesktopOrderDetail(orderId, fromOrders: fromOrders,),
),
);
}