Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedetect_fake_location

Detects whether the device location is being simulated or faked.

pub.devRemove
platform_detect

Detects browser and OS types and versions in Dart web apps.

pub.devRemove
ScoresHealth5671 (best)
Maintenance2151 (best)
Quality91 (best)85
Popularity4772 (best)
Community4680 (best)
Compatibility100 (best)85
UsageDownloads (30 days)3k103k (best)
Likes41 (best)38
Pub points140 / 160 (best)125 / 160
GitHub stars1420 (best)
MaintenanceLatest release2.3.2, 10 months ago2.1.6, 9 months ago (best)
Major versions in 12 months00
Contributors235 (best)
Publisherzeexan.comworkiva.com
FitPlatformsAndroid, iOSAll (pure Dart)
WASM-readyYesNo
KindPlugin (native code)Pure Dart
Code generationNoNo
Direct dependencies22
LicenseBSD-3-CLAUSEUNKNOWN
Setup effortLowLow
JudgementStrengths
  • Simple API with a single async call
  • Supports both software‑simulated and accessory‑based detection
  • Configurable iOS option to reduce false positives
  • Lightweight, no heavy dependencies.
  • Simple API with clear boolean flags.
  • Can decorate the <html> element for CSS styling.
  • Supports custom feature detection via Feature objects.
Weaknesses
  • iOS detection requires iOS 15+
  • No Android‑specific detection beyond permission handling
  • Limited to detection only, no mitigation
  • Only works on web; no support for mobile/desktop Flutter.
  • Feature detection limited to touch/mstouch unless extended manually.
  • No version ranges beyond simple checks.
Warnings
  • Native setup
None
detect_fake_location vs platform_detect: which Flutter package should you use? | pubscout