latlong_to_place 0.0.5
latlong_to_place: ^0.0.5 copied to clipboard
A Flutter library to fetch device LatLng via geolocator and convert it into rich PlaceInfo via the null-safe geocoding plugin.
β
CHANGELOG.md (Updated) #
# Changelog
All notable changes to this project will be documented in this file.
## [0.0.5] β 2025-08-02
### Added
- π Added Dart documentation for public APIs including `DistanceService`, `distancesBetweenPoints`, and `totalDistance` to meet pub.flutter-io.cn score guidelines.
- π§ Documented `latlong_to_place` library declaration.
- β
Enabled compatibility with `public_member_api_docs` lint rule.
## [0.0.4] β 2025-08-02
### Added
- π Added `DistanceService` class for calculating distance between multiple LatLng points.
- β
Supports output in kilometers, meters, or miles.
- πΌοΈ Included new banner image for showcasing this features.
## [0.0.3] β 2025-07-31
- Updated the license file
## [0.0.2] β 2025-07-31
- Fixed images of Readme file
## [0.0.1] β 2025-07-31
### Added
- Initial release of `latlong_to_place`.
- πΊοΈ `getCurrentPlaceInfo()` β handles permission request, fetches GPS coordinates, and reverse-geocodes to `PlaceInfo`.
- π `getPlaceInfo(lat, lng)` β reverse-geocodes arbitrary coordinates.
- Defined `PlaceInfo` model with formatted address, street, locality, city, state, country, postal code, latitude, and longitude.
- Documentation updated with installation, permission setup, and usage examples.