wakelock 0.2.1+1
wakelock: ^0.2.1+1

Flutter Android iOS web

Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on Android, iOS, and web.

247
likes
110 / 110
pub points
99 %
popularity

We analyzed this package on Nov 26, 2020, and awarded it 110 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

10/10 points: 20% or more of the public API has dartdoc comments

  • 6 out of 8 API elements (75.0 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 3 of 3 possible platforms (iOS, Android, Web)

Found 4 issues. Showing the first 2:

Consider supporting these prerelease platforms:

Package does not support Flutter platform Windows

Because:

  • package:wakelock/wakelock.dart that declares support for platforms: Android, iOS, Web
Pass static analysis
30 / 30

30/30 points: code has no errors, warnings, lints, or formatting issues

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
meta^1.2.01.3.0-nullsafety.61.3.0-nullsafety.6
wakelock_platform_interface^0.1.0+10.1.0+10.1.0+1
wakelock_web^0.1.0+30.1.0+30.1.0+3
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.0-nullsafety.51.1.0-nullsafety.5
charcode-1.1.31.2.0-nullsafety.3
collection-1.15.0-nullsafety.51.15.0-nullsafety.5
csslib-0.16.20.16.2
html-0.14.0+40.14.0+4
import_js_library-1.0.21.0.2
js-0.6.3-nullsafety.30.6.3-nullsafety.3
path-1.7.01.8.0-nullsafety.3
source_span-1.7.01.8.0-nullsafety.4
term_glyph-1.1.01.2.0-nullsafety.3
typed_data-1.3.0-nullsafety.51.3.0-nullsafety.5
vector_math-2.1.0-nullsafety.52.1.0-nullsafety.5

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

247
likes
110
pub points
99%
popularity

Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on Android, iOS, and web.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

creativecreatorormaybenot@gmail.com

License

BSD (LICENSE)

Dependencies

flutter, meta, wakelock_platform_interface, wakelock_web

More

Packages that depend on wakelock