Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedisplay_metrics

Retrieve physical display size, resolution, and PPI, and convert inches and mm to logical pixels.

pub.devRemove
wakelock_plus

Keep the device screen awake across mobile, desktop, and web platforms.

pub.devRemove
ScoresHealth7791 (best)
Maintenance89 (best)84
Quality100100
Popularity3996 (best)
Community5280 (best)
Compatibility100100
UsageDownloads (30 days)3.5k2.9M (best)
Likes18650 (best)
Pub points160 / 160160 / 160
GitHub stars4110 (best)
MaintenanceLatest release2.7.0, 3 weeks ago (best)1.8.2, 4 weeks ago
Major versions in 12 months00
Contributors326 (best)
Publishernukeolay.devfluttercommunity.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies76 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Supports multiple platforms including Android, iOS, Windows, macOS, Linux, and Web.
  • Provides convenient BuildContext extension methods for unit conversion.
  • Handles unknown or new devices via an onUnknownDisplay callback.
  • No special permissions required on any platform.
  • Comprehensive platform support covering Android, iOS, macOS, Windows, Linux, and Web.
  • Simple API with enable, disable, toggle, and status check methods.
Weaknesses
  • Physical dimensions and DPI cannot be accurately determined on the web platform due to browser restrictions.
  • Requires placing DisplayMetricsWidget above MaterialApp in the widget tree.
  • High minimum SDK requirements (requires Flutter SDK >=3.41.0 and Dart SDK >=3.11.0).
  • May require manual ndkVersion adjustments in Android Gradle configurations if errors arise.
Warnings
  • Native setup
  • Native setup
display_metrics vs wakelock_plus: which Flutter package should you use? | pubscout