Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedevice_display_brightness

A Flutter plugin to manage the device's display brightness on Android and iOS.

pub.devRemove
display_metrics

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

pub.devRemove
ScoresHealth4577 (best)
Maintenance089 (best)
Quality96100 (best)
Popularity2039 (best)
Community4652 (best)
Compatibility100100
UsageDownloads (30 days)4263.5k (best)
Likes20 (best)18
Pub points150 / 160160 / 160 (best)
GitHub stars9 (best)4
MaintenanceLatest release0.0.6, 5 years ago2.7.0, 3 weeks ago (best)
Major versions in 12 months00
Contributors23 (best)
Publishersominviacheslav.technukeolay.dev
FitPlatformsAndroid, iOSAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyNoYes
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies0 (best)7
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Supports both Android and iOS.
  • Simple static methods for easy usage.
  • 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.
Weaknesses
  • Requires platform-specific permission setup on Android.
  • 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.
Warnings
  • Native setup
  • Native setup
device_display_brightness vs display_metrics: which Flutter package should you use? | pubscout