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.
Integration testing
For integration testing, this plugin uses example/test_driver. The project has a setup for continuous integration, which will run the integration tests to confirm that the plugin is working correctly.
The status for the latest commit is .
If you want to run the integration tests yourself, you can run flutter drive --target=test_driver/app.dart from the example directory.