clearAllowLockWhileScreenOn static method
Clears the FLAG_ALLOW_LOCK_WHILE_SCREEN_ON flag from the window (Android only).
Implementation
static Future<bool> clearAllowLockWhileScreenOn() {
return KeepScreenOnPlatform.instance.clearAllowLockWhileScreenOn();
}