How do you check GPS enable or disable in flutter?

var isGpsEnabled = await Geolocator(). isLocationServiceEnabled(); I use this method to check and enable the Gps if disabled.

Sizin İçin Seçtik  What is function in Java with example?

Leave a Reply

Your email address will not be published. Required fields are marked *