Showing
4 changed files
with
7 additions
and
1 deletions
| @@ -4,7 +4,6 @@ This plugin allows you to enable and toggle the Android and iOS screen wakelock, | @@ -4,7 +4,6 @@ This plugin allows you to enable and toggle the Android and iOS screen wakelock, | ||
| 4 | 4 | ||
| 5 | ## Getting Started | 5 | ## Getting Started |
| 6 | 6 | ||
| 7 | -The usage of this plugin is very straight forward. | ||
| 8 | If you want to enable the wakelock, you can simply call `Wakelock.enableWakelock` and to disable it, you can use `Wakelock.disableWakelock`: | 7 | If you want to enable the wakelock, you can simply call `Wakelock.enableWakelock` and to disable it, you can use `Wakelock.disableWakelock`: |
| 9 | 8 | ||
| 10 | ```dart | 9 | ```dart |
| @@ -70,3 +70,6 @@ | @@ -70,3 +70,6 @@ | ||
| 70 | !**/ios/**/default.pbxuser | 70 | !**/ios/**/default.pbxuser |
| 71 | !**/ios/**/default.perspectivev3 | 71 | !**/ios/**/default.perspectivev3 |
| 72 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages | 72 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages |
| 73 | + | ||
| 74 | +wakelock_example.iml | ||
| 75 | +.idea |
-
Please register or login to post a comment