FLUTTER ECOSYSTEM

geo_fence_utils

生產就緒的地點圍欄計算。精確的距離(Haversine)、圓形與多邊形偵測,批次作業。96% 測試覆蓋率。

最新版本
2.1.0
近 30 天下載
97
喜歡數
31
Pub 分數
150

Package Overview

根據套件公開資料產生的選型評估,僅供參考。

套件概覽

geo_fence_utils 是一個生產就緒的 Dart 套件,用於精確的地點圍欄操作。它提供基於 Haversine 的距離計算,支援圓形與多邊形形狀的地點圍欄,並能進行批次處理以提升效率。96% 的測試覆蓋率確保跨平台(包括 Android、iOS、Web、macOS、Windows 及 Linux)的可靠性。適用於需要即時地點圍欄偵測與管理的位置感知應用程式。

適用情境
  • Real-time location tracking
  • Geofence-based alerts
  • Delivery or ride-sharing apps
  • Asset monitoring
  • Outdoor activity tracking
  • Smart home automation
主要特色
  • Haversine distance calculation
  • Circle and polygon geofence detection
  • Batch geofence operations
  • High test coverage (96%)
  • Cross-platform compatibility
  • Lightweight and efficient
適合對象
  • Developers building location services
  • Apps needing precise geofencing
  • Teams prioritizing reliability and performance
  • Projects requiring multi-platform support
  • Applications with high-frequency location updates
使用建議
  • 需要準確的GPS輸入以獲得最佳效果
  • 多邊形檢測可能會影響複雜形狀的效能
  • 不適用於僅離線使用,需額外設定
  • 最佳搭配位置權限處理程式
支援平台AndroidiOSWebmacOSWindowsLinux

安裝套件

flutter pub add geo_fence_utils

所屬分類

相關專案

暫無相關資料。