Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributehaversine_distance

Calculate the distance between two latitude and longitude coordinates

pub.devRemove
latlong2

Lightweight Dart library for latitude/longitude calculations.

pub.devRemove
ScoresHealth3885 (best)
Maintenance068 (best)
Quality9696
Popularity1592 (best)
Community680 (best)
Compatibility100100
UsageDownloads (30 days)4391.4M (best)
Likes17403 (best)
Pub points150 / 160150 / 160
GitHub stars349 (best)
MaintenanceLatest release1.2.1, 6 years ago0.10.1, 7 months ago (best)
Major versions in 12 months00
Contributors110 (best)
PublisherUnverifiedfemtopedia.de
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies0 (best)1
LicenseMITAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Simple and lightweight API
  • Supports multiple measurement units
  • No external dependencies
  • Zero native dependencies, works on all Dart platforms
  • Supports both fast Haversine and accurate Vincenty algorithms
  • Path smoothing and GeoJSON helpers included
  • Null‑safe and lightweight
Weaknesses
  • Limited to basic distance calculation
  • Does not include built-in mapping widgets or location tracking
  • Does not provide location services or map widgets
  • Limited to calculation utilities, no visual components
  • No built‑in caching or networking
WarningsNoneNone
haversine_distance vs latlong2: which Flutter package should you use? | pubscout