proximity_screen_lock_default 2.1.0
proximity_screen_lock_default: ^2.1.0 copied to clipboard
A default plugin that can be used to bind screen activation to proximity sensor
We analyzed this package 15 days ago, and awarded it 100 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: proximity_screen_lock_default.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: proximity_screen_lock_default, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
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.
10/10 points: Package has an example
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.dartthat declares support for platforms:Windows,Linux,macOS,Web.
Package does not support platform `iOS`.
Because:
package:proximity_screen_lock_default/proximity_screen_lock_default.dartthat 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.dartthat imports:package:flutter_web_plugins/flutter_web_plugins.dartthat imports:package:flutter_web_plugins/src/plugin_registry.dartthat imports:dart:ui_web
Package not compatible with platform Linux
Because:
package:proximity_screen_lock_default/proximity_screen_lock_default.dartthat imports:package:flutter_web_plugins/flutter_web_plugins.dartthat imports:package:flutter_web_plugins/src/plugin_registry.dartthat imports:dart:ui_web
Package not compatible with platform macOS
Because:
package:proximity_screen_lock_default/proximity_screen_lock_default.dartthat imports:package:flutter_web_plugins/flutter_web_plugins.dartthat imports:package:flutter_web_plugins/src/plugin_registry.dartthat imports:dart:ui_web
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
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.17.0 | 1.17.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.