Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeis_lock_screen2

Detects whether an Android or iOS device is currently in the lock screen state.

pub.devRemove
wakelock_plus

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

pub.devRemove
ScoresHealth5691 (best)
Maintenance4584 (best)
Quality100100
Popularity2796 (best)
Community1780 (best)
Compatibility100100
UsageDownloads (30 days)2.7k2.9M (best)
Likes8650 (best)
Pub points160 / 160160 / 160
GitHub stars1110 (best)
MaintenanceLatest release2.1.0, 5 months ago1.8.2, 4 weeks ago (best)
Major versions in 12 months00
Contributors326 (best)
PublisherUnverifiedfluttercommunity.dev
FitPlatformsAndroid, iOSAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies0 (best)6
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Distinguishes between app minimization and screen locking.
  • Provides both a nullable API and a throwing API for handling errors.
  • Uses safe native APIs instead of private APIs that violate App Store guidelines.
  • 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
  • iOS implementation is purely heuristic and does not use a stable public lock-screen API.
  • Does not work on iOS simulators (physical device required).
  • 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
is_lock_screen2 vs wakelock_plus: which Flutter package should you use? | pubscout