README.md 328 Bytes

Example

This is a basic example demonstrating the functionality of the wakelock plugin, including enabling & disabling the wakelock and also retrieving the current wakelock status using a FutureBuilder.

See example/lib/main.dart.