smart_location 0.0.2
smart_location: ^0.0.2 copied to clipboard
Smart Location is a Flutter package that provides an all-in-one solution for location handling, including real-time updates, last known location, geofencing, distance & bearing calculations, backgroun [...]
All notable changes to this project will be documented in this file.
0.0.2 - 2026-03-27 #
Changed #
- Updated
pubspec.yamlversion to0.0.2 - Updated
README.mddependency reference to^0.0.2
Documentation #
- Expanded
README.mdwith a comprehensive usage guide covering 7 real-world scenarios:- One-time location fetch (delivery, profile setup)
- Live tracking (ride-sharing, food delivery)
- Geofencing / proximity alerts
- Distance-based tracking with
distanceFilter(fitness apps) - Fast startup using
lastKnown()cached location - Heading / bearing for navigation and compass UIs
- Permission-only check for feature gating
- Added error handling best practices section
- Added Android (
AndroidManifest.xml) and iOS (Info.plist) setup instructions - Added background location configuration notes for both platforms
- Added API overview table and usage best practices
0.0.1 - 2026-03-26 #
Added #
- Initial release of Smart Location Flutter package
- Get current location of the device
- Get last known location
- Continuous location updates (stream)
- Check if location services are enabled
- Distance calculation between two coordinates
- Bearing calculation between two coordinates
- Permission handling utilities
- Background tracking support (basic)
- Example app demonstrating all features
- Basic unit tests for core functionality