final
This commit is contained in:
@@ -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(),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user