proximity_screen_lock_default 2.1.0 copy "proximity_screen_lock_default: ^2.1.0" to clipboard
proximity_screen_lock_default: ^2.1.0 copied to clipboard

discontinued

A default plugin that can be used to bind screen activation to proximity sensor

0
likes
100/ 160
pub points
935
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: proximity_screen_lock_default,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: proximity_screen_lock_default.

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

3 out of 7 API elements (42.9 %) have documentation comments.

Some symbols that are missing documentation: proximity_screen_lock_default, proximity_screen_lock_default.ProximityScreenLockDefault, proximity_screen_lock_default.ProximityScreenLockDefault.ProximityScreenLockDefault.new, proximity_screen_lock_default.ProximityScreenLockDefault.registerWith.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:proximity_screen_lock_default/proximity_screen_lock_default.dart that declares support for platforms: Windows, Linux, macOS, Web.
Package does not support platform `iOS`.

Because:

  • package:proximity_screen_lock_default/proximity_screen_lock_default.dart that declares support for platforms: Windows, Linux, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Windows

Because:

  • package:proximity_screen_lock_default/proximity_screen_lock_default.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web
Package not compatible with platform Linux

Because:

  • package:proximity_screen_lock_default/proximity_screen_lock_default.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web
Package not compatible with platform macOS

Because:

  • package:proximity_screen_lock_default/proximity_screen_lock_default.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

ERROR: Missing concrete implementation of 'getter abstract class ProximityScreenLockPlatformInterface extends PlatformInterface.proximityStates'.

lib/proximity_screen_lock_default.dart:4:7

  ╷
4 │ class ProximityScreenLockDefault extends ProximityScreenLockPlatformInterface {
  │       ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest Notes
proximity_screen_lock_platform_interface ^2.0.0 2.2.0 2.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.1.4 2.2.0

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

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.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
935
downloads

Publisher

verified publishermantoux.org

Weekly Downloads

A default plugin that can be used to bind screen activation to proximity sensor

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_web_plugins, proximity_screen_lock_platform_interface

More

Packages that depend on proximity_screen_lock_default