You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vitaliy Zarubin
c382141993
|
1 year ago | |
---|---|---|
.. | ||
data | 1 year ago | |
lib | 1 year ago | |
.gitignore | 1 year ago | |
README.md | 1 year ago | |
analysis_options.yaml | 1 year ago | |
pubspec.yaml | 1 year ago |
README.md
wakelock_plus_aurora
The Aurora implementation of wakelock_plus
.
Usage
This package is not an endorsed implementation of wakelock_plus
.
Therefore, you have to include wakelock_plus_aurora
alongside wakelock_plus
as dependencies in your pubspec.yaml
file.
pubspec.yaml
dependencies:
wakelock_plus: ^1.1.1
wakelock_plus_aurora:
git:
url: https://gitlab.com/omprussia/flutter/flutter-plugins.git
ref: master
path: packages/wakelock_plus/wakelock_plus_aurora
*.dart
import 'package:wakelock_plus/wakelock_plus.dart';
// ...
// The following line will enable the Android and iOS wakelock.
WakelockPlus.enable();
// The next line disables the wakelock again.
WakelockPlus.disable();