screen_light 0.0.1 screen_light: ^0.0.1 copied to clipboard
flutter插件,获取系统屏幕亮度,作为插件开发学习用项目
We analyzed this package 41 hours ago, and awarded it 25 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
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.
Homepage URL is insecure.
Update the homepage
field and use a secure (https
) URL.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md
in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0
.
0/10 points: 20% or more of the public API has dartdoc comments
Dependency resolution failed, unable to run dartdoc
.
10/10 points: Package has an example
0/20 points: Platform support detection failed
Could not determine supported platforms as package resolution failed.
Run flutter pub get
for more information.
0/50 points: code has no errors, warnings, lints, or formatting issues
- Running
flutter pub outdated
failed with the following output:
The lower bound of "sdk: '>=2.7.0 <3.0.0'" must be 2.12.0'
or higher to enable null safety.
0/10 points: All of the package dependencies are supported in the latest version
Sdk constraint doesn't support current Dart version 3.3.4. Cannot run `flutter pub outdated`.
pubspec.yaml:8:8
╷
8 │ sdk: ">=2.7.0 <3.0.0"
│ ^^^^^^^^^^^^^^^^
╵
0/10 points: Package supports latest stable Dart and Flutter SDKs
Sdk constraint doesn't support current Dart version 3.3.4.
pubspec.yaml:8:8
╷
8 │ sdk: ">=2.7.0 <3.0.0"
│ ^^^^^^^^^^^^^^^^
╵
Try widening the upper boundary of the constraint.
The current SDK constraint does not allow the Dart version used by the latest stable Flutter (3.3.4)
pubspec.yaml:8:8
╷
8 │ sdk: ">=2.7.0 <3.0.0"
│ ^^^^^^^^^^^^^^^^
╵
Analyzed with Pana 0.22.3
, Flutter 3.19.6
, Dart 3.3.4
.
Check the analysis log for details.