From 67a52c6f845763d3c01213e316919d35facbcb0a Mon Sep 17 00:00:00 2001 From: Mohamed Nouffer Date: Thu, 18 May 2023 10:27:49 +0530 Subject: [PATCH] disabled top navigaion part --- .../destination_map/destination_map_page.dart | 16 ++-- lib/pages/index/index_page.dart | 92 +++++++++---------- pubspec.yaml | 2 +- 3 files changed, 55 insertions(+), 55 deletions(-) diff --git a/lib/pages/destination_map/destination_map_page.dart b/lib/pages/destination_map/destination_map_page.dart index 35b2b96..8f16599 100644 --- a/lib/pages/destination_map/destination_map_page.dart +++ b/lib/pages/destination_map/destination_map_page.dart @@ -108,15 +108,15 @@ class DestinationMapPage extends StatelessWidget { return Obx((() => Stack( children: [ - indexController.is_rog_mapcontroller_loaded.value == false ? - Center(child: CircularProgressIndicator()) - : + // indexController.is_rog_mapcontroller_loaded.value == false ? + // Center(child: CircularProgressIndicator()) + // : + // Padding( + // padding: const EdgeInsets.only(left:8.0), + // child: BreadCrumbWidget(mapController:indexController.rogMapController), + // ), Padding( - padding: const EdgeInsets.only(left:8.0), - child: BreadCrumbWidget(mapController:indexController.rogMapController), - ), - Padding( - padding: const EdgeInsets.only(top:50.0), + padding: const EdgeInsets.only(top:0.0), //child: TravelMap(), child: TravelMap(), diff --git a/lib/pages/index/index_page.dart b/lib/pages/index/index_page.dart index 515c993..ad49ddc 100644 --- a/lib/pages/index/index_page.dart +++ b/lib/pages/index/index_page.dart @@ -114,52 +114,52 @@ class IndexPage extends GetView { body: SafeArea( child: Column( children: [ - Container( - padding: const EdgeInsets.symmetric(horizontal: 8.0), - alignment: Alignment.centerLeft, - height: 50.0, - //child: SingleChildScrollView( - // scrollDirection: Axis.horizontal, - // child:Row( - // mainAxisAlignment: MainAxisAlignment.start, - // children: [ - // TextButton(child:Text("Main Pef >", style: TextStyle(fontSize:16.0, fontWeight: FontWeight.bold),), onPressed: (){Get.toNamed(AppPages.MAINPERF);},), - // TextButton(child:Text("Sub Pef >", style: TextStyle(fontSize:16.0, fontWeight: FontWeight.bold),), onPressed: (){Get.toNamed(AppPages.SUBPERF);},), - // TextButton(child:Text("Cities >", style: TextStyle(fontSize:16.0, fontWeight: FontWeight.bold),), onPressed: (){Get.toNamed(AppPages.CITY);},), - // TextButton(child:Text("Categories", style: TextStyle(fontSize:16.0, fontWeight: FontWeight.bold),), onPressed: (){Get.toNamed(AppPages.CATEGORY);},), - // ], - // ) - // ), - child: SingleChildScrollView( - scrollDirection: Axis.horizontal, - child: Obx(() => - Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - indexController.is_mapController_loaded.value == false ? - Center(child: CircularProgressIndicator()) - : - BreadCrumbWidget(mapController: indexController.mapController), - Container(width: 24.0,), - // Row( - // children: [ - // indexController.currentCat.isNotEmpty ? Text(indexController.currentCat[0].toString()): Text(""), - // indexController.currentCat.isNotEmpty ? - // IconButton( - // onPressed: (){ - // indexController.currentCat.clear(); - // indexController.loadLocationsBound(); - // }, - // icon: Icon(Icons.cancel, color: Colors.red,) - // ) : - // Container(width: 0, height: 0,) - // ], - // ) - ], - ) - ), - ), - ), + // Container( + // padding: const EdgeInsets.symmetric(horizontal: 8.0), + // alignment: Alignment.centerLeft, + // height: 50.0, + // //child: SingleChildScrollView( + // // scrollDirection: Axis.horizontal, + // // child:Row( + // // mainAxisAlignment: MainAxisAlignment.start, + // // children: [ + // // TextButton(child:Text("Main Pef >", style: TextStyle(fontSize:16.0, fontWeight: FontWeight.bold),), onPressed: (){Get.toNamed(AppPages.MAINPERF);},), + // // TextButton(child:Text("Sub Pef >", style: TextStyle(fontSize:16.0, fontWeight: FontWeight.bold),), onPressed: (){Get.toNamed(AppPages.SUBPERF);},), + // // TextButton(child:Text("Cities >", style: TextStyle(fontSize:16.0, fontWeight: FontWeight.bold),), onPressed: (){Get.toNamed(AppPages.CITY);},), + // // TextButton(child:Text("Categories", style: TextStyle(fontSize:16.0, fontWeight: FontWeight.bold),), onPressed: (){Get.toNamed(AppPages.CATEGORY);},), + // // ], + // // ) + // // ), + // child: SingleChildScrollView( + // scrollDirection: Axis.horizontal, + // child: Obx(() => + // Row( + // mainAxisAlignment: MainAxisAlignment.spaceBetween, + // children: [ + // indexController.is_mapController_loaded.value == false ? + // Center(child: CircularProgressIndicator()) + // : + // BreadCrumbWidget(mapController: indexController.mapController), + // Container(width: 24.0,), + // // Row( + // // children: [ + // // indexController.currentCat.isNotEmpty ? Text(indexController.currentCat[0].toString()): Text(""), + // // indexController.currentCat.isNotEmpty ? + // // IconButton( + // // onPressed: (){ + // // indexController.currentCat.clear(); + // // indexController.loadLocationsBound(); + // // }, + // // icon: Icon(Icons.cancel, color: Colors.red,) + // // ) : + // // Container(width: 0, height: 0,) + // // ], + // // ) + // ], + // ) + // ), + // ), + // ), Expanded( child: Obx(() => indexController.mode == 0 ? diff --git a/pubspec.yaml b/pubspec.yaml index 1e56625..94e3ae6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.0.7+7 +version: 1.0.9+9 environment: sdk: ">=2.16.0 <3.0.0"