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

@@ -14,9 +14,7 @@ import '../widgets/mobile/MobileBottomNav.dart';
import '../widgets/mobile/mobile_login.dart';
class Login extends StatefulWidget {
final Key key;
const Login({this.key}) : super(key: key);
const Login({Key? key}) : super(key: key);
@override
State<StatefulWidget> createState() {
@@ -50,15 +48,15 @@ class LoginState extends State<Login> {
breadCrumbHeight: sizingInformation.deviceScreenType == DeviceScreenType.mobile ? null : Constants.BREADCRUMB_HEIGHT,
),
drawer: null,
body: ScreenTypeLayout(
mobile: MobileLogin(),
tablet: DesktopLogin(),
desktop: DesktopLogin(),
body: ScreenTypeLayout.builder(
mobile: (context) => MobileLogin(),
tablet: (context) => DesktopLogin(),
desktop: (context) => DesktopLogin(),
),
bottomNavigationBar: ScreenTypeLayout(
mobile: MobileBottomNav(currentIndex: 0,),
tablet: BottomNav(),
desktop: BottomNav(),
bottomNavigationBar: ScreenTypeLayout.builder(
mobile: (context) => MobileBottomNav(currentIndex: 0,),
tablet: (context) => BottomNav(),
desktop: (context) => BottomNav(),
),
),
);