Name Last Update
..
android Loading commit data...
ios Loading commit data...
lib Loading commit data...
test_driver Loading commit data...
.gitignore Loading commit data...
README.md Loading commit data...
pubspec.yaml Loading commit data...

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.

Integration testing

For integration testing, this plugin uses example/test_driver. The project has a setup for continuous integration, which will run the integration test to confirm that the plugin is working correctly.
The status for the latest commit is build status.

If you want to run the integration tests yourself, you can run flutter drive --target=test_driver/app.dart from the example directory.