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

@@ -8,20 +8,19 @@ import '../widgets/desktop/desktop_my_support.dart';
import '../widgets/mobile/mobile_my_support.dart';
class MySupport extends StatelessWidget {
final Key key;
final int businessId;
const MySupport({this.key, int businessId}) :
const MySupport({Key? key, int? businessId}) :
businessId = businessId ?? Constants.BUSINESS_ID;
@override
Widget build(BuildContext context) {
return ResponsiveBuilder(
builder: (context, sizingInformation) =>
ScreenTypeLayout(
mobile: MobileMySupport(businessId: businessId,),
tablet: DesktopMySupport(businessId: businessId,),
desktop: DesktopMySupport(businessId: businessId,),
ScreenTypeLayout.builder(
mobile: (context) => MobileMySupport(businessId: businessId,),
tablet: (context) => DesktopMySupport(businessId: businessId,),
desktop: (context) => DesktopMySupport(businessId: businessId,),
),
);
}