disabled top navigaion part

This commit is contained in:
Mohamed Nouffer
2023-05-18 10:27:49 +05:30
parent da0d37708d
commit 67a52c6f84
3 changed files with 55 additions and 55 deletions

View File

@ -108,15 +108,15 @@ class DestinationMapPage extends StatelessWidget {
return Obx((() => return Obx((() =>
Stack( Stack(
children: [ children: [
indexController.is_rog_mapcontroller_loaded.value == false ? // indexController.is_rog_mapcontroller_loaded.value == false ?
Center(child: CircularProgressIndicator()) // Center(child: CircularProgressIndicator())
: // :
// Padding(
// padding: const EdgeInsets.only(left:8.0),
// child: BreadCrumbWidget(mapController:indexController.rogMapController),
// ),
Padding( Padding(
padding: const EdgeInsets.only(left:8.0), padding: const EdgeInsets.only(top:0.0),
child: BreadCrumbWidget(mapController:indexController.rogMapController),
),
Padding(
padding: const EdgeInsets.only(top:50.0),
//child: TravelMap(), //child: TravelMap(),
child: child:
TravelMap(), TravelMap(),

View File

@ -114,52 +114,52 @@ class IndexPage extends GetView<IndexController> {
body: SafeArea( body: SafeArea(
child: Column( child: Column(
children: [ children: [
Container( // Container(
padding: const EdgeInsets.symmetric(horizontal: 8.0), // padding: const EdgeInsets.symmetric(horizontal: 8.0),
alignment: Alignment.centerLeft, // alignment: Alignment.centerLeft,
height: 50.0, // height: 50.0,
//child: SingleChildScrollView( // //child: SingleChildScrollView(
// scrollDirection: Axis.horizontal, // // scrollDirection: Axis.horizontal,
// child:Row( // // child:Row(
// mainAxisAlignment: MainAxisAlignment.start, // // mainAxisAlignment: MainAxisAlignment.start,
// children: [ // // children: [
// TextButton(child:Text("Main Pef >", style: TextStyle(fontSize:16.0, fontWeight: FontWeight.bold),), onPressed: (){Get.toNamed(AppPages.MAINPERF);},), // // 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("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("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);},), // // TextButton(child:Text("Categories", style: TextStyle(fontSize:16.0, fontWeight: FontWeight.bold),), onPressed: (){Get.toNamed(AppPages.CATEGORY);},),
// ], // // ],
// ) // // )
// ), // // ),
child: SingleChildScrollView( // child: SingleChildScrollView(
scrollDirection: Axis.horizontal, // scrollDirection: Axis.horizontal,
child: Obx(() => // child: Obx(() =>
Row( // Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, // mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ // children: [
indexController.is_mapController_loaded.value == false ? // indexController.is_mapController_loaded.value == false ?
Center(child: CircularProgressIndicator()) // Center(child: CircularProgressIndicator())
: // :
BreadCrumbWidget(mapController: indexController.mapController), // BreadCrumbWidget(mapController: indexController.mapController),
Container(width: 24.0,), // Container(width: 24.0,),
// Row( // // Row(
// children: [ // // children: [
// indexController.currentCat.isNotEmpty ? Text(indexController.currentCat[0].toString()): Text(""), // // indexController.currentCat.isNotEmpty ? Text(indexController.currentCat[0].toString()): Text(""),
// indexController.currentCat.isNotEmpty ? // // indexController.currentCat.isNotEmpty ?
// IconButton( // // IconButton(
// onPressed: (){ // // onPressed: (){
// indexController.currentCat.clear(); // // indexController.currentCat.clear();
// indexController.loadLocationsBound(); // // indexController.loadLocationsBound();
// }, // // },
// icon: Icon(Icons.cancel, color: Colors.red,) // // icon: Icon(Icons.cancel, color: Colors.red,)
// ) : // // ) :
// Container(width: 0, height: 0,) // // Container(width: 0, height: 0,)
// ], // // ],
// ) // // )
], // ],
) // )
), // ),
), // ),
), // ),
Expanded( Expanded(
child: Obx(() => child: Obx(() =>
indexController.mode == 0 ? indexController.mode == 0 ?

View File

@ -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. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at # Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.7+7 version: 1.0.9+9
environment: environment:
sdk: ">=2.16.0 <3.0.0" sdk: ">=2.16.0 <3.0.0"