Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeproximity_screen_lock

Bind screen activation to proximity sensor and detect proximity events in Flutter.

pub.devRemove
proximity_sensor

Flutter plugin to read proximity sensor events on Android and iOS

pub.devRemove
ScoresHealth6069 (best)
Maintenance3947 (best)
Quality100 (best)97
Popularity3871 (best)
Community4145 (best)
Compatibility100100
UsageDownloads (30 days)7.4k48k (best)
Likes948 (best)
Pub points160 / 160160 / 160
GitHub stars78 (best)
MaintenanceLatest release2.3.0, 6 months ago2.0.0, 4 months ago (best)
Major versions in 12 months0 (best)1
Contributors18 (best)
Publishermantoux.orgUnverified
FitPlatformsAndroid, iOSAndroid, iOS
WASM-readyYesNo
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies30 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Simple API to toggle active proximity locking
  • Provides stream of proximity states
  • Checks sensor availability for iOS and Android
  • Simple API with a single Stream
  • Cross‑platform support (Android & iOS)
  • Handles required permissions and platform quirks
Weaknesses
  • Not supported on non-mobile platforms
  • Availability depends on hardware support on Android
  • Requires Flutter >=3.44 and Dart ^3.12
  • Android 12+ needed for explicit exported activity
  • No support for virtual proximity sensors on some devices
Warnings
  • Native setup
  • Native setup
proximity_screen_lock vs proximity_sensor: which Flutter package should you use? | pubscout