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 3 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.
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.
- contains
Repository has no matching pubspec.yaml
with name: proximity_screen_lock_default
.
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.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
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.
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.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
.
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.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.