Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecross_platform

Unified API for detecting the current platform and basic system info across Flutter, web, and desktop.

pub.devRemove
universal_platform

Platform detection across Flutter, Dart web, and desktop without errors

pub.devRemove
ScoresHealth5050
Maintenance24 (best)2
Quality100 (best)96
Popularity1091 (best)
Community4158 (best)
Compatibility100100
UsageDownloads (30 days)5982M (best)
Likes8313 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars3111 (best)
MaintenanceLatest release3.1.0, 9 months ago (best)1.1.0, 2 years ago
Major versions in 12 months00
Contributors14 (best)
Publisherthisismarch.devgskinner.com
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies10 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Single unified API for all Flutter targets
  • Covers all major platforms (android, iOS, web, windows, macOS, linux)
  • Zero native setup or permissions
  • No dependencies, lightweight
  • Works on all supported platforms including Web
  • Simple boolean API
Weaknesses
  • Only provides basic platform info, no deep device details
  • Duplicates functionality already available in dart:io/dart:html
  • Limited to the features listed in the README
  • Only provides platform checks, no other utilities
  • No support for platform-specific APIs beyond booleans
WarningsNoneNone
cross_platform vs universal_platform: which Flutter package should you use? | pubscout