bigdatacloud_reverse_geocode_client 1.0.2 copy "bigdatacloud_reverse_geocode_client: ^1.0.2" to clipboard
bigdatacloud_reverse_geocode_client: ^1.0.2 copied to clipboard

Free reverse geocoding for Flutter/Dart — get city, country, and locality from GPS coordinates with automatic IP geolocation fallback. No API key needed.

example/example.dart

import 'package:bigdatacloud_reverse_geocode_client/bigdatacloud_reverse_geocode_client.dart';

void main() async {
  // Detect user location: tries GPS first, falls back to IP if denied
  try {
    final location = await GeoLocation.detect();
    print('City: ${location.city}');
    print('Country: ${location.countryName}');
    print('Source: ${location.lookupSource}');
  } catch (e) {
    print('Error: $e');
  }

  // Detect with different language
  try {
    final location = await GeoLocation.detect(language: 'ja');
    print('Country: ${location.countryName}'); // 日本
  } catch (e) {
    print('Error: $e');
  }
}
1
likes
125
points
34
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Free reverse geocoding for Flutter/Dart — get city, country, and locality from GPS coordinates with automatic IP geolocation fallback. No API key needed.

Homepage
Repository (GitHub)
View/report issues

Topics

#geolocation #reverse-geocoding #location #gps #bigdatacloud

License

MIT (license)

Dependencies

http

More

Packages that depend on bigdatacloud_reverse_geocode_client