final
This commit is contained in:
@@ -12,7 +12,7 @@ import '../widgets/mobile/MobileBottomNav.dart';
|
||||
import '../widgets/mobile/mobile_new_user.dart';
|
||||
|
||||
class NewUser extends StatelessWidget {
|
||||
const NewUser({Key key}) : super(key: key);
|
||||
const NewUser({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -28,15 +28,15 @@ class NewUser extends StatelessWidget {
|
||||
breadCrumbHeight: sizingInformation.deviceScreenType == DeviceScreenType.mobile ? null : Constants.BREADCRUMB_HEIGHT,
|
||||
),
|
||||
drawer: null,
|
||||
body: ScreenTypeLayout(
|
||||
mobile: MobileNewUser(),
|
||||
tablet: DesktopNewUser(),
|
||||
desktop: DesktopNewUser(),
|
||||
body: ScreenTypeLayout.builder(
|
||||
mobile: (context) => MobileNewUser(),
|
||||
tablet: (context) => DesktopNewUser(),
|
||||
desktop: (context) => DesktopNewUser(),
|
||||
),
|
||||
bottomNavigationBar: ScreenTypeLayout(
|
||||
mobile: MobileBottomNav(currentIndex: 0,),
|
||||
tablet: BottomNav(),
|
||||
desktop: BottomNav(),
|
||||
bottomNavigationBar: ScreenTypeLayout.builder(
|
||||
mobile: (context) => MobileBottomNav(currentIndex: 0,),
|
||||
tablet: (context) => BottomNav(),
|
||||
desktop: (context) => BottomNav(),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user