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
screen_corner_radius

Provides the corner radius value of the current device screen for Android and iOS.

pub.devRemove
ScoresHealth75 (best)47
Maintenance65 (best)12
Quality94 (best)91
Popularity69 (best)48
Community52 (best)6
Compatibility100100
UsageDownloads (30 days)30k (best)8.4k
Likes54 (best)18
Pub points160 / 160 (best)140 / 160
GitHub stars1314 (best)
MaintenanceLatest release7.0.0, 3 months ago (best)3.0.0, a year ago
Major versions in 12 months20 (best)
Contributors3 (best)1
Publishercraftsoft.devUnverified
FitPlatformsAndroid, iOSAndroid, iOS
WASM-readyNoYes
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies11
LicenseMITMIT
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.
  • Simple and straightforward API usage.
  • Supports both Android and iOS platforms.
Weaknesses
  • Requires manual cleanup in dispose methods to prevent the screen from staying on indefinitely.
  • Some methods and features are only available on Android.
  • Limited platform support (only Android and iOS are documented).
  • Depends on undocumented or OS-specific native keys/APIs which might change across OS versions.
Warnings
  • Native setup
  • Native setup
keep_screen_on vs screen_corner_radius: which Flutter package should you use? | pubscout