flutter_exposure_kit 0.0.1
flutter_exposure_kit: ^0.0.1 copied to clipboard
曝光基础库.
We analyzed this package 4 days ago, and awarded it 50 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.
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.
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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
23 out of 143 API elements (16.1 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: base_exposure_scroll_container, base_exposure_scroll_container.ChildItemContainerBuilder, base_exposure_scroll_container.ExposureScrollContainerProvider, base_exposure_scroll_container.ExposureScrollContainerProvider.ExposureScrollContainerProvider.new, base_exposure_scroll_container.ExposureScrollContainerProvider.childBuilder.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
ERROR: The method 'hashValues' isn't defined for the type '_Point'.
lib/src/base/sliver_exposure_scroll_view.dart:244:23
╷
244 │ int get hashCode => hashValues(parentIndex, itemIndex);
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/base/sliver_exposure_scroll_view.dart
ERROR: The named parameter 'devicePixelRatio' is required, but there's no corresponding argument.
lib/src2/base/base_scroll_detail_provider.dart:89:16
╷
89 │ metrics: FixedScrollMetrics(
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src2/base/base_scroll_detail_provider.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_staggered_grid_view |
^0.6.2 |
0.6.2 | 0.7.0 | |
visibility_detector |
^0.4.0+2 |
0.4.0+2 | 0.4.0+2 |
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.17.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.
The constraint `^0.6.2` on flutter_staggered_grid_view does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions flutter_staggered_grid_view to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
UNDEFINED_METHOD-lib/src/base/sliver_exposure_scroll_view.dart:244:23- The method 'hashValues' isn't defined for the type '_Point'.MISSING_REQUIRED_ARGUMENT-lib/src2/base/base_scroll_detail_provider.dart:89:16- The named parameter 'devicePixelRatio' is required, but there's no corresponding argument.MISSING_REQUIRED_ARGUMENT-lib/src2/base/scroll_detail_provider.dart:84:16- The named parameter 'devicePixelRatio' is required, but there's no corresponding argument.
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.