The Tizen implementation of wakelock_plus
.
This package is not an endorsed implementation of wakelock_plus
. Therefore, you have to include wakelock_plus_tizen
alongside wakelock_plus
as dependencies in your pubspec.yaml
file.
dependencies:
wakelock_plus: ^1.2.8
wakelock_plus_tizen: ^2.0.0
Then you can import wakelock_plus
in your Dart code:
import 'package:wakelock_plus/wakelock_plus.dart';
For detailed usage, see https://pub.dev/packages/wakelock_plus#usage.