demo_widgets 0.5.0
demo_widgets: ^0.5.0 copied to clipboard
A new Flutter project.
We analyzed this package 2 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 50 to 180 characters to describe the package, what it does, and its target use case.
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 ("0.5.0").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
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.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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 outdatedfailed with the following output:
Note: intl is pinned to version 0.20.2 by flutter_localizations from the flutter SDK.
See https://dart.cn/go/sdk-version-pinning for details.
0/10 points: All of the package dependencies are supported in the latest version
- Could not run
flutter pub outdated:flutter pub getfailed:
OUT:
Resolving dependencies...
ERR:
Note: intl is pinned to version 0.20.2 by flutter_localizations from the flutter SDK.
See https://dart.cn/go/sdk-version-pinning for details.
Because decorated_flutter >=0.35.7 <=0.40.0-dev.1 depends on intl 0.17.0 and decorated_flutter >=0.40.0 <0.46.15 depends on intl ^0.17.0, decorated_flutter >=0.35.7 <0.46.15 requires intl ^0.17.0.
Because decorated_flutter >=0.28.0-pre.1 depends on flutter_localizations from sdk which depends on intl 0.20.2, decorated_flutter >=0.28.0-pre.1 requires intl 0.20.2.
Thus, decorated_flutter >=0.35.7 <0.46.15 is forbidden.
So, because demo_widgets depends on decorated_flutter ^0.40.0-dev.1, version solving failed.
[3 more lines]
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
flutter pub downgrade failed with:
OUT:
Resolving dependencies...
ERR:
Note: intl is pinned to version 0.20.2 by flutter_localizations from the flutter SDK.
See https://dart.cn/go/sdk-version-pinning for details.
Because decorated_flutter >=0.35.7 <=0.40.0-dev.1 depends on intl 0.17.0 and decorated_flutter >=0.40.0 <0.46.15 depends on intl ^0.17.0, decorated_flutter >=0.35.7 <0.46.15 requires intl ^0.17.0.
And because every version of flutter_localizations from sdk depends on intl 0.20.2, decorated_flutter >=0.35.7 <0.46.15 is incompatible with flutter_localizations from sdk.
So, because demo_widgets depends on decorated_flutter ^0.40.0-dev.1 which depends on flutter_localizations from sdk, version solving failed.
You can try the following suggestion to make the pubspec resolve:
[2 more lines]
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.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.