Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributelight

Flutter plugin that streams ambient light sensor (lux) values on Android and iOS.

pub.devRemove
sensors_plus

Flutter plugin to access accelerometer, gyroscope, magnetometer, and barometer sensors.

pub.devRemove
ScoresHealth7596 (best)
Maintenance6689 (best)
Quality97100 (best)
Popularity4697 (best)
Community80100 (best)
Compatibility100100
UsageDownloads (30 days)4.7k953k (best)
Likes261k (best)
Pub points160 / 160160 / 160
GitHub stars6101.9k (best)
MaintenanceLatest release5.0.0, 9 months ago7.1.1, 7 weeks ago (best)
Major versions in 12 months10 (best)
Contributors93100+ (best)
Publishercachet.dkfluttercommunity.dev
FitPlatformsAndroid, iOSAndroid, iOS, Web
WASM-readyNoYes
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies0 (best)1
LicenseMITBSD-3-CLAUSE
Setup effortHighLow
JudgementStrengths
  • Simple API with a single stream
  • Supports both Android and iOS natively
  • Handles iOS permission flow internally
  • Supports multiple crucial sensors like accelerometer, gyroscope, magnetometer, and barometer.
  • Provides stream-based event handling with customizable sampling intervals.
  • Recognized as a Flutter Favorite package.
Weaknesses
  • iOS requires special entitlement and setup, making it hard for many apps
  • Limited to devices that expose an ambient light sensor
  • Only provides raw lux integers, no higher‑level processing
  • Platform restrictions apply (e.g., no macOS, Windows, or Linux support; limited web and iOS capabilities).
  • Some low-end or older Android devices might lack specific sensors, requiring manual error handling.
Warnings
  • Native setup
  • Native setup
light vs sensors_plus: which Flutter package should you use? | pubscout