wakelock_web 0.2.0-nullsafety.0 wakelock_web: ^0.2.0-nullsafety.0 copied to clipboard
Web platform implementation of the wakelock_platform_interface for the wakelock plugin.
wakelock_web #
Web platform implementation of the wakelock_platform_interface
for the
wakelock plugin.
Getting started #
If you want to use the wakelock plugin on web, see the main wakelock
plugin package.
Implementation #
The web implementation is based on NoSleep.js
, i.e.
the assets
include a version that was modified to work with the wakelock plugin.
This supports the Screen Wake Lock API
if available.