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

@@ -13,7 +13,7 @@ import '../widgets/mobile/MobileBottomNav.dart';
import '../widgets/mobile/mobile_user_profile.dart';
class UserProfile extends StatelessWidget {
const UserProfile({Key key}) : super(key: key);
const UserProfile({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
@@ -29,15 +29,15 @@ class UserProfile extends StatelessWidget {
breadCrumbHeight: sizingInformation.deviceScreenType == DeviceScreenType.mobile ? null : Constants.BREADCRUMB_HEIGHT,
),
drawer: null,
body: ScreenTypeLayout(
mobile: MobileUserProfile(),
tablet: DesktopUserProfile(),
desktop: DesktopUserProfile(),
body: ScreenTypeLayout.builder(
mobile: (context) => MobileUserProfile(),
tablet: (context) => DesktopUserProfile(),
desktop: (context) => DesktopUserProfile(),
),
bottomNavigationBar: ScreenTypeLayout(
mobile: MobileBottomNav(currentIndex: 0,),
tablet: BottomNav(),
desktop: BottomNav(),
bottomNavigationBar: ScreenTypeLayout.builder(
mobile: (context) => MobileBottomNav(currentIndex: 0,),
tablet: (context) => BottomNav(),
desktop: (context) => BottomNav(),
),
),
);