This commit is contained in:
2023-11-18 21:02:00 +05:30
parent 85b8c4705f
commit 954ff36640
3 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,5 @@
import 'dart:ffi';
import 'package:flutter/material.dart';
import 'package:geojson/geojson.dart';
import 'package:geolocator/geolocator.dart';
@ -105,7 +107,8 @@ class BottomSheetNew extends GetView<BottomSheetController> {
@override
Widget build(BuildContext context) {
destinationController.skipGps = true;
//print('---- rog_mode ----- ${indexController.rog_mode} -----');
// print('--- c use --- ${indexController.currentUser[0].values}');
// print('---- rog_mode ----- ${indexController.rogMode.value} -----');
return indexController.rogMode.value == 0
? detailsSheet(context)
: destinationSheet(context);
@ -403,8 +406,9 @@ class BottomSheetNew extends GetView<BottomSheetController> {
child: Container(
alignment: Alignment.center,
child: Obx(() => Text(
indexController
.currentFeature[0].properties!["location_name"],
"${TextUtils.getDisplayTextFeture(indexController.currentFeature[0])} : ${indexController.currentFeature[0].properties!["location_name"]}",
// indexController
// .currentFeature[0].properties!["location_name"],
style: const TextStyle(
fontSize: 15.0,
fontWeight: FontWeight.bold,