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

@@ -15,9 +15,7 @@ import '../widgets/mobile/MobileBottomNav.dart';
import '../widgets/mobile/mobile_me.dart';
class Me extends StatefulWidget {
final Key key;
const Me({this.key}) : super(key: key);
const Me({Key? key}) : super(key: key);
@override
State<StatefulWidget> createState() {
@@ -52,16 +50,16 @@ class MeState extends State<Me> {
),
drawer: null,
body: DoubleBackToCloseAppWrapper(
child: ScreenTypeLayout(
mobile: MobileMe(),
tablet: DesktopMe(),
desktop: DesktopMe(),
child: ScreenTypeLayout.builder(
mobile: (context) => MobileMe(),
tablet: (context) => DesktopMe(),
desktop: (context) => DesktopMe(),
),
),
bottomNavigationBar: ScreenTypeLayout(
mobile: MobileBottomNav(currentIndex: 3,),
tablet: BottomNav(),
desktop: BottomNav(),
bottomNavigationBar: ScreenTypeLayout.builder(
mobile: (context) => MobileBottomNav(currentIndex: 3,),
tablet: (context) => BottomNav(),
desktop: (context) => BottomNav(),
),
),
);