fswitch 1.1.1 fswitch: ^1.1.1 copied to clipboard
An interesting switch component.
We analyzed this package 3 days ago, and awarded it 15 pub points (of a possible 160):
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.
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: fswitch
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
pubspec.yaml
from the repository URL mismatch: expected https://github.com/Fliggy-Android-Team/fswitch
but got https://github.com/Fliggy-Mobile/fswitch
.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:27:1
╷
27 │ <a href="http://www.apache.org/licenses/LICENSE-2.0.txt">
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
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/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
- Running
flutter pub outdated
failed with the following output:
The lower bound of "sdk: '>=2.2.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.5.4. Cannot run `flutter pub outdated`.
pubspec.yaml:8:8
╷
8 │ sdk: ">=2.2.0 <3.0.0"
│ ^^^^^^^^^^^^^^^^
╵
0/10 points: Package supports latest stable Dart and Flutter SDKs
Sdk constraint doesn't support current Dart version 3.5.4.
pubspec.yaml:8:8
╷
8 │ sdk: ">=2.2.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.5.4)
pubspec.yaml:8:8
╷
8 │ sdk: ">=2.2.0 <3.0.0"
│ ^^^^^^^^^^^^^^^^
╵
0/20 points: Compatible with dependency constraint lower bounds
flutter pub downgrade
failed with:
OUT:
Resolving dependencies...
ERR:
The lower bound of "sdk: '>=2.2.0 <3.0.0'" must be 2.12.0'
or higher to enable null safety.
The current Dart SDK (3.5.4) only supports null safety.
For details, see https://dart.dev/null-safety
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.15
, Flutter 3.24.4
, Dart 3.5.4
.
Check the analysis log for details.