added drawer
This commit is contained in:
@ -55,7 +55,7 @@ class DrawerPage extends StatelessWidget {
|
||||
title: Text("logout".tr),
|
||||
onTap: (){
|
||||
indexController.logout();
|
||||
Get.toNamed(AppPages.TRAVEL);
|
||||
Get.toNamed(AppPages.LOGIN);
|
||||
},
|
||||
)
|
||||
),
|
||||
|
||||
@ -27,9 +27,9 @@ class IndexPage extends GetView<IndexController> {
|
||||
return WillPopScope(
|
||||
onWillPop: () async => false,
|
||||
child: Scaffold(
|
||||
//drawer: const DrawerPage(),
|
||||
drawer: DrawerPage(),
|
||||
appBar: AppBar(
|
||||
automaticallyImplyLeading: false,
|
||||
// automaticallyImplyLeading: false,
|
||||
// leading: IconButton(
|
||||
// icon: Icon(Icons.arrow_back_ios),
|
||||
// onPressed: (){
|
||||
|
||||
Reference in New Issue
Block a user