geocoding
5.0.1, released 3 weeks ago by baseflow.com
Flutter plugin for forward and reverse geocoding using platform services.
What it does
Provides methods to convert coordinates to addresses and addresses to coordinates. Wraps native iOS, macOS, and Android geocoding APIs behind a simple Dart API.
AI-written summary of version 5.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to obtain human‑readable addresses from lat/long values
- You need to convert user‑entered addresses into geographic coordinates
Skip it when
- You require offline geocoding or custom data sources
- You need high‑volume batch geocoding beyond platform rate limits
Strengths
- Uses native platform geocoding services (no extra API keys)
- Simple API with single Geocoding class
- Supports Android, iOS, and macOS
Weaknesses
- Relies on platform rate limits and network availability
- No support for Windows, Linux, or web
- Limited to free built‑in services, no advanced features
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
Add the package to pubspec.yaml; no additional native configuration beyond default platform permissions for location services.
import 'package:geocoding/geocoding.dart';
Future<void> example() async {
List<Placemark> placemarks = await Geocoding().placemarkFromCoordinates(52.2165, 6.9438);
print(placemarks.first.street);
}Alternatives
Packages that do the same job and could replace geocoding.
- geolocator
Provides location tracking and also basic geocoding with more control over permissions
97Compare - flutter_map
If you need full map UI integration alongside geocoding
90Compare
Works with
Packages commonly used together with geocoding: ones it builds on, ones built on it, and its own family.
- kpostalBuilt on geocodingSearch for Korean postal addresses using the Kakao postcode service via a WebView widget.
- place_picker_googleBuilt on geocodingA place picker package for Google Maps fully written in Dart for Flutter.
- common_utils2Built on geocodingProduction-focused Flutter utilities for notifications, storage, connectivity, and media.