Use Flutter google maps . Enable google maps API in google cloud console for your platform(s), Android, iOS, JavaScript if you want web. Install your location dependency. Update your database with the new coords when they change.
Read moreHow do I fetch user location in background with Flutter?
Position userLocation = await geoLocator. getCurrentPosition(desiredAccuracy: LocationAccuracy. high); As you have guessed, this line will actually get the current position.6 May 2020
Read more