added drawer

This commit is contained in:
Mohamed Nouffer
2023-07-11 12:11:41 +05:30
parent 0c0234ad3c
commit b3a9e35f76
3 changed files with 6 additions and 4 deletions

View File

@ -429,8 +429,10 @@ class BottomSheetNew extends GetView<BottomSheetController> {
),
ElevatedButton(
onPressed:() async {
print("---- go to ----");
GeoJsonFeature<GeoJsonMultiPoint> mp = indexController.currentFeature[0] as GeoJsonFeature<GeoJsonMultiPoint>;
Position position = await Geolocator.getCurrentPosition(desiredAccuracy: LocationAccuracy.high);
Position position = await Geolocator.getCurrentPosition(desiredAccuracy: LocationAccuracy.best);
print("------- position -------- ${position}");
Destination ds = Destination(
lat: position.latitude,
lon: position.longitude