Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributelight_sensor

Access the device light sensor on Android.

pub.devRemove
sensors_plus

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

pub.devRemove
ScoresHealth4296 (best)
Maintenance1890 (best)
Quality96100 (best)
Popularity2397 (best)
Community6100 (best)
Compatibility79100 (best)
UsageDownloads (30 days)1.7k946k (best)
Likes91k (best)
Pub points150 / 160160 / 160 (best)
GitHub stars41.9k (best)
MaintenanceLatest release3.0.2, 11 months ago7.1.1, 7 weeks ago (best)
Major versions in 12 months00
Contributors1100+ (best)
PublisherUnverifiedfluttercommunity.dev
FitPlatformsAndroidAndroid, iOS, Web
WASM-readyYesYes
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies0 (best)1
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Simple API for checking sensor availability and listening to lux updates.
  • Actively maintained plugin refreshing the older unmaintained 'light' package.
  • 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
  • Only supports Android devices.
  • Limited documentation beyond basic usage.
  • 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_sensor vs sensors_plus: which Flutter package should you use? | pubscout