Search packages, repositories and app categories

Package detailsv2.1.0

geo_fence_utils

Production-ready geofence calculations. Accurate distance (Haversine), circle & polygon detection, batch operations. 96% test coverage.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
77
Likes
33
Pub points
140

Install package

flutter pub add geo_fence_utils

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

geo_fence_utils is a production-ready Dart package for accurate geofencing operations. It provides Haversine-based distance calculations, supports both circular and polygon-shaped geofences, and enables batch processing for efficiency. With 96% test coverage, it ensures reliability across platforms including Android, iOS, Web, macOS, Windows, and Linux. Ideal for location-aware applications requiring real-time geofence detection and management.

Use cases

  • Real-time location tracking
  • Geofence-based alerts
  • Delivery or ride-sharing apps
  • Asset monitoring
  • Outdoor activity tracking
  • Smart home automation

Key features

  • Haversine distance calculation
  • Circle and polygon geofence detection
  • Batch geofence operations
  • High test coverage (96%)
  • Cross-platform compatibility
  • Lightweight and efficient

Suitable for

  • Developers building location services
  • Apps needing precise geofencing
  • Teams prioritizing reliability and performance
  • Projects requiring multi-platform support
  • Applications with high-frequency location updates

Considerations

  • Requires accurate GPS input for best results
  • Polygon detection may impact performance with complex shapes
  • Not suitable for offline-only use without additional setup
  • Best paired with a location permission handler

Categories

Dependencies

Dependency list 3 items

Projects using this package

No data available yet.