creativecreatorormaybenot / Wakelock

Licence: bsd-3-clause
Flutter plugin that allows you to keep the device screen awake on Android, iOS, macOS, Windows, and web.

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Wakelock

Flutteryoutube
Flutter Plugin to play youtube Videos
Stars: ✭ 120 (-20%)
Mutual labels:  flutter-plugin
Mediumclapflutter
A Custom Floating Action Button (FAB) library like clapping effect on Medium
Stars: ✭ 133 (-11.33%)
Mutual labels:  flutter-plugin
Ratemyapp
This plugin allows to kindly ask users to rate your app if custom conditions are met (eg. install time, number of launches, etc...).
Stars: ✭ 143 (-4.67%)
Mutual labels:  flutter-plugin
Flutter Concentric Transition
A Flutter plugin to create views using concentric transition effect.
Stars: ✭ 122 (-18.67%)
Mutual labels:  flutter-plugin
Flutter credit card
A credit card widget for Flutter application.
Stars: ✭ 126 (-16%)
Mutual labels:  flutter-plugin
Analog clock
⌚️Analog Clock widget for Flutter ⏰
Stars: ✭ 136 (-9.33%)
Mutual labels:  flutter-plugin
Flutter contacts
A Flutter plugin to retrieve and manage contacts on Android and iOS devices. Maintainer: @lukasgit
Stars: ✭ 119 (-20.67%)
Mutual labels:  flutter-plugin
Open file
A plug-in that can call native APP to open files with string result in flutter, support iOS(UTI) / android(intent) / PC(ffi) / web(dart:html)
Stars: ✭ 145 (-3.33%)
Mutual labels:  flutter-plugin
Flutter android
Android bindings plugin for Flutter.
Stars: ✭ 131 (-12.67%)
Mutual labels:  flutter-plugin
Flutter xupdate
A Flutter plugin for XUpdate(Android Version Update Library)
Stars: ✭ 138 (-8%)
Mutual labels:  flutter-plugin
Nautilus
阿里百川电商Flutter插件。
Stars: ✭ 123 (-18%)
Mutual labels:  flutter-plugin
Background location
Flutter background location plugin for Android and iOS
Stars: ✭ 127 (-15.33%)
Mutual labels:  flutter-plugin
Modal progress hud
A simple modal progress HUD (heads-up display, or progress indicator) for flutter
Stars: ✭ 137 (-8.67%)
Mutual labels:  flutter-plugin
Facebook audience network
Flutter Facebook Audience Network
Stars: ✭ 122 (-18.67%)
Mutual labels:  flutter-plugin
Wififlutter
Plugin Flutter which can handle WiFi connections (AP, STA)
Stars: ✭ 142 (-5.33%)
Mutual labels:  flutter-plugin
Esys Flutter Share
A Flutter plugin for sharing files & text with other applications.
Stars: ✭ 119 (-20.67%)
Mutual labels:  flutter-plugin
K chart
Maybe it is the best k chart in Flutter.
Stars: ✭ 134 (-10.67%)
Mutual labels:  flutter-plugin
Flutter appauth
A Flutter wrapper for AppAuth iOS and Android SDKs
Stars: ✭ 145 (-3.33%)
Mutual labels:  flutter-plugin
Flutter video compress
Generate a new file by compressed video, and provide metadata. Get video thumbnail from a video path, supports JPEG/GIF. To reduce app size not using FFmpeg in IOS.
Stars: ✭ 145 (-3.33%)
Mutual labels:  flutter-plugin
Flutter alipay
A flutter plugin to use alipay.
Stars: ✭ 137 (-8.67%)
Mutual labels:  flutter-plugin

Wakelock GitHub stars Pub version Twitter Follow

Wakelock is Flutter plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping.

Supported platforms

Platform wakelock support
Android
iOS
Web
macOS
Windows
Linux planned

Getting started

To learn more about the plugin and getting started, you can view the main package (wakelock) README.

Plugin structure

The wakelock plugin uses the federated plugins approach.
For this plugin, it means that the basic API is defined using pigeon. The pigeon files can be found in the pigeons directory in the main package. The API is defined in Dart in the wakelock_platform_interface package.
Furthermore, the Android and iOS implementations can be found in the main package, while the web implementation is in the wakelock_web package.

The packages in this repo are the following:

Package Implementations
wakelock Main plugin package + Android & iOS implementations
wakelock_macos macOS implementation
wakelock_platform_interface Basic API definition & message handling
wakelock_web Web implementation
wakelock_windows Windows implementation

Contributing

If you want to contribute to this plugin, follow the contributing guide.

Origin

Originally, this plugin was based on screen.
Specifically, the wakelock functionality was extracted into this plugin due to lack of maintenance by the author of the screen plugin.

Today, the wakelock plugin has been completely refreshed (using latest Flutter standards and platform integration) with added support for web, Windows, & macOS.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].