menu
flutter_foreground_task package
documentation
models/foreground_task_options.dart
ForegroundTaskOptions
allowWakeLock property
allowWakeLock property
dark_mode
light_mode
allowWakeLock
property
bool
allowWakeLock
final
Whether to keep the CPU turned on. The default is
true
.
Implementation
final bool allowWakeLock;
flutter_foreground_task package
documentation
models/foreground_task_options
ForegroundTaskOptions
allowWakeLock property
ForegroundTaskOptions class