mimic google behavior with location icon button

This commit is contained in:
2024-03-27 22:08:09 +01:00
parent 507b321311
commit c00d2fac05
4 changed files with 89 additions and 58 deletions

View File

@@ -0,0 +1,8 @@
import 'package:geolocator/geolocator.dart';
import 'package:latlong2/latlong.dart';
extension LatLngPositionExtension on Position {
LatLng latlng() {
return LatLng(latitude, longitude);
}
}