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,7 +14,7 @@ import '../widgets/mobile/mobile_set_password.dart';
class SetPassword extends StatelessWidget {
final String mobile;
final String code;
const SetPassword(this.mobile, {Key key, this.code}) : super(key: key);
const SetPassword(this.mobile, {Key? key, required this.code}) : super(key: key);
@override
Widget build(BuildContext context) {
@@ -30,15 +30,15 @@ class SetPassword extends StatelessWidget {
breadCrumbHeight: sizingInformation.deviceScreenType == DeviceScreenType.mobile ? null : Constants.BREADCRUMB_HEIGHT,
),
drawer: null,
body: ScreenTypeLayout(
mobile: MobileSetPassword(mobile, code: code,),
tablet: DesktopSetPassword(mobile, code: code,),
desktop: DesktopSetPassword(mobile, code: code,),
body: ScreenTypeLayout.builder(
mobile: (context) => MobileSetPassword(mobile, code: code,),
tablet: (context) => DesktopSetPassword(mobile, code: code,),
desktop: (context) => DesktopSetPassword(mobile, code: code,),
),
bottomNavigationBar: ScreenTypeLayout(
mobile: MobileBottomNav(currentIndex: 0,),
tablet: BottomNav(),
desktop: BottomNav(),
bottomNavigationBar: ScreenTypeLayout.builder(
mobile: (context) => MobileBottomNav(currentIndex: 0,),
tablet: (context) => BottomNav(),
desktop: (context) => BottomNav(),
),
),
);