ness_disable_screenshots 1.0.1
ness_disable_screenshots: ^1.0.1 copied to clipboard
Provides three related functions that disable screenshots. These are: screenshot monitoring, adding a watermark globally, disabling screenshots (only supports Android). 提供三个禁用截屏的相关功能。分别是:截屏监控、全局添加水印、禁 [...]
We analyzed this package 4 days ago, and awarded it 125 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description
field in your package's pubspec.yaml
file between 60 and 180 characters.
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description
field in your package's pubspec.yaml
should primarily contain characters used in English.
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: ness_disable_screenshots
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: ness_disable_screenshots
.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.0.1").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
5 out of 8 API elements (62.5 %) have documentation comments.
Some symbols that are missing documentation: ness_disable_screenshots
, ness_disable_screenshots.DisableScreenshots
, ness_disable_screenshots.DisableScreenshots.DisableScreenshots.new
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:ness_disable_screenshots/ness_disable_screenshots.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:ness_disable_screenshots/ness_disable_screenshots.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:ness_disable_screenshots/ness_disable_screenshots.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:ness_disable_screenshots/ness_disable_screenshots.dart
that declares support for platforms:Android
,iOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:ness_disable_screenshots/ness_disable_screenshots.dart
that imports:package:ness_disable_screenshots/src/ness_disable_screenshots.dart
that imports:dart:io
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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/ness_disable_screenshots/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.
lib/src/ness_disable_screenshots.dart:60:17
╷
60 │ overlayState?.insert(_overlayEntry!);
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ness_disable_screenshots.dart
WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.
lib/src/ness_disable_screenshots.dart:70:17
╷
70 │ overlayState?.insert(_overlayEntry!);
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ness_disable_screenshots.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
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 | |
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.22.23
, Flutter 3.35.3
, Dart 3.9.2
.
Check the analysis log for details.