flu_wake_lock 0.0.2 copy "flu_wake_lock: ^0.0.2" to clipboard
flu_wake_lock: ^0.0.2 copied to clipboard

Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on Android and iOS.

flu_wake_lock Pub version GitHub stars #

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

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();
9
likes
160
points
2k
downloads

Publisher

unverified uploader

Weekly Downloads

Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on Android and iOS.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flu_wake_lock