Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributekeep_screen_on

Disables automatic screen off and prevents the screen from turning off.

pub.devRemove
wakelock_plus

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

pub.devRemove
ScoresHealth7592 (best)
Maintenance6585 (best)
Quality94100 (best)
Popularity6996 (best)
Community5280 (best)
Compatibility100100
UsageDownloads (30 days)31k2.9M (best)
Likes54650 (best)
Pub points160 / 160160 / 160
GitHub stars13110 (best)
MaintenanceLatest release7.0.0, 3 months ago1.8.2, 4 weeks ago (best)
Major versions in 12 months20 (best)
Contributors326 (best)
Publishercraftsoft.devfluttercommunity.dev
FitPlatformsAndroid, iOSAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyNoYes
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies1 (best)6
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Simple API to turn the screen lock on and off.
  • Supports fine-grained Android-specific flags like FLAG_ALLOW_LOCK_WHILE_SCREEN_ON.
  • 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
  • Requires manual cleanup in dispose methods to prevent the screen from staying on indefinitely.
  • Some methods and features are only available on Android.
  • 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
keep_screen_on vs wakelock_plus: which Flutter package should you use? | pubscout