geocoder_pro library

Classes

BaseGeocoder
Abstract contract for all geocoding providers in geocoder_pro.
GeoAddressComponent
Represents a single address component returned from a geocoding service.
GeoBounds
Represents a rectangular geographic bounding box defined by northeast and southwest coordinates.
GeocodeResponse
Represents a standardized geocoding response holding results and metadata.
GeocoderPro
Main entry point for geocoding operations in Flutter.
GeoCoordinates
Represents geographical coordinates with latitude and longitude.
GeoData
A comprehensive data model class representing geographical location information.
GeoUtils
Comprehensive utility class for spatial, distance, and geocoding helper functions.
GoogleGeocoder
Geocoding provider using the official Google Maps Geocoding API.
NominatimGeocoder
Geocoding provider using the free OpenStreetMap Nominatim API (no API key required).

Exceptions / Errors

ApiKeyException
Thrown when an API key is missing, invalid, or unauthorized.
GeocoderException
Base class for all geocoding-related exceptions.
InvalidRequestException
Thrown when the geocoding request parameters are malformed or invalid.
NetworkException
Thrown when network connectivity fails, request times out, or server returns 5xx.
NotFoundException
Thrown when no geocoding results were found for the query.
QuotaExceededException
Thrown when the query limit or API quota has been exceeded.