charts_common_maintained 1.0.0
charts_common_maintained: ^1.0.0 copied to clipboard
A common library for charting packages.
We analyzed this package 8 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.
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: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
1127 out of 2094 API elements (53.8 %) have documentation comments.
Some symbols that are missing documentation: charts_common_maintained, charts_common_maintained.A11yNode.A11yNode.new, charts_common_maintained.AnnotationSegment.axisId, charts_common_maintained.AnnotationSegment.axisType, charts_common_maintained.AnnotationSegment.color.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 64 issues. Showing the first 2:
ERROR: The class 'Iterator' can't be extended outside of its library because it's an interface class.
lib/src/chart/bar/base_bar_renderer.dart:818:13
╷
818 │ extends Iterator<S> {
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/chart/bar/base_bar_renderer.dart
ERROR: The class 'Iterator' can't be extended outside of its library because it's an interface class.
lib/src/chart/cartesian/axis/time/time_stepper.dart:48:41
╷
48 │ abstract class TimeStepIterator extends Iterator<DateTime> {
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/chart/cartesian/axis/time/time_stepper.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
intl |
>=0.18.0 <1.0.0 |
0.20.2 | 0.20.2 | |
logging |
^1.2.0 |
1.3.0 | 1.3.0 | |
meta |
^1.11.0 |
1.18.2 | 1.18.2 | |
vector_math |
^2.1.4 |
2.3.0 | 2.3.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
clock |
- | 1.1.2 | 1.1.2 | |
path |
- | 1.9.1 | 1.9.1 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
INVALID_USE_OF_TYPE_OUTSIDE_LIBRARY-lib/src/chart/bar/base_bar_renderer.dart:818:13- The class 'Iterator' can't be extended outside of its library because it's an interface class.INVALID_USE_OF_TYPE_OUTSIDE_LIBRARY-lib/src/chart/cartesian/axis/time/time_stepper.dart:48:41- The class 'Iterator' can't be extended outside of its library because it's an interface class.
Run dart pub downgrade and then dart 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.12, Dart 3.12.0.
Check the analysis log for details.