Last updated:
0 purchases
flu wake lock
flu_wake_lock #
Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping
Usage #
Install #
flutter pub add flu_wake_lock
copied to clipboard
Implementation #
import 'package:flu_wake_lock/flu_wake_lock.dart';
// ...
FluWakeLock _fluWakeLock = FluWakeLock();
// The following line will enable the Android and iOS wakelock.
_fluWakeLock.enable();
// The next line disables the wakelock again.
_fluWakeLock.disable();
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.