Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeplatform_detect

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

pub.devRemove
web_browser_detect

Detect which browser and version is in use on Flutter Web.

pub.devRemove
ScoresHealth7179 (best)
Maintenance5187 (best)
Quality85100 (best)
Popularity72 (best)54
Community80 (best)46
Compatibility85100 (best)
UsageDownloads (30 days)103k (best)22k
Likes38 (best)17
Pub points125 / 160160 / 160 (best)
GitHub stars20 (best)10
MaintenanceLatest release2.1.6, 9 months ago2.3.1, 4 weeks ago (best)
Major versions in 12 months00
Contributors35 (best)2
Publisherworkiva.comtomas-chyly.com
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyNoYes
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies21 (best)
LicenseUNKNOWNMIT
Setup effortLowLow
JudgementStrengths
  • 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.
  • Supports detection via `Browser.detectOrNull()` for cross-platform safety.
  • Supports custom user agent parsing via `Browser.detectFrom()`.
Weaknesses
  • 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.
  • Browser detection using UserAgent strings is never completely reliable.
  • Does not support all current or past browsers out of the box.
WarningsNoneNone
platform_detect vs web_browser_detect: which Flutter package should you use? | pubscout