wakelock_web 0.3.0 copy "wakelock_web: ^0.3.0" to clipboard
wakelock_web: ^0.3.0 copied to clipboard

Platformweb
unlistedoutdated

Web platform implementation of the wakelock_platform_interface for the wakelock plugin.

1
likes
130/ 160
pub points
97.1k
downloads

We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

5 out of 6 API elements (83.3 %) have documentation comments.

Some symbols that are missing documentation: wakelock_web.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:wakelock_web/wakelock_web.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:wakelock_web/wakelock_web.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:wakelock_web/wakelock_web.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:wakelock_web/wakelock_web.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:wakelock_web/wakelock_web.dart that declares support for platforms: Web.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:wakelock_web/wakelock_web.dart that imports:
  • package:wakelock_web/src/js_wakelock.dart that imports:
  • package:wakelock_web/src/promise.dart that imports:
  • package:js/js.dart that imports:
  • dart:js

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Angle brackets will be interpreted as HTML.

lib/src/import_js_library.dart:38:41

   ╷
38 │ /// Injects a bunch of libraries in the <head> and returns a
   │                                         ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/import_js_library.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
js ^0.6.3 0.6.7 0.7.2
wakelock_platform_interface ^0.2.0 0.2.1+3 0.3.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4

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

The constraint `^0.6.3` on js does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions js to update the constraint.

The constraint `^0.2.0` on wakelock_platform_interface does not support the stable version `0.3.0`.

Try running dart pub upgrade --major-versions wakelock_platform_interface to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.18, Flutter 3.27.4, Dart 3.6.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
97.1k
downloads

Publisher

verified publishercreativemaybeno.dev

Weekly Downloads

Web platform implementation of the wakelock_platform_interface for the wakelock plugin.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_web_plugins, js, wakelock_platform_interface

More

Packages that depend on wakelock_web