nimble_charts_common 0.5.0-beta copy "nimble_charts_common: ^0.5.0-beta" to clipboard
nimble_charts_common: ^0.5.0-beta copied to clipboard

Charts for Dart. A fork of charts_common

40/ 160
pub points
1.71k
downloads

We analyzed this package 10 days ago, and awarded it 40 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 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: common, common.A11yNode.A11yNode.new, common.AnnotationSegment.AnnotationSegment.new, common.AnnotationSegment.axisId, common.AnnotationSegment.axisType.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 1535 issues. Showing the first 2:

ERROR: This type is unsafe: a type parameter occurs in a non-covariant position.

lib/src/chart/bar/base_bar_renderer.dart:821:62

    ╷
821 │   Iterable<S> getOrderedSeriesList<S extends ImmutableSeries<D>>(
    │                                                              ^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/chart/bar/base_bar_renderer.dart

ERROR: Missing documentation explaining why the diagnostic is ignored.

lib/src/chart/cartesian/axis/draw_strategy/gridline_draw_strategy.dart:83:3

   ╷
83 │   // ignore: hash_and_equals
   │   ^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/chart/cartesian/axis/draw_strategy/gridline_draw_strategy.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
collection ^1.14.5 1.19.1 1.19.1
intl ^0.19.0 0.19.0 0.20.3
logging ^1.0.2 1.3.0 1.3.0
meta ^1.1.1 1.19.0 1.19.0
vector_math ^2.0.8 2.4.2 2.4.2
Transitive dependencies
Package Constraint Compatible Latest Notes
clock - 1.1.3 1.1.3
path - 1.9.1 1.9.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.

Try running dart pub upgrade --major-versions intl to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 13 errors:

  • USE_SUPER_PARAMETERS - lib/src/chart/cartesian/axis/draw_strategy/range_tick_draw_strategy.dart:141:3 - Parameters ''axisLineStyleSpec', 'labelOffsetFromAxisPx', 'labelCollisionOffsetFromAxisPx', 'labelOffsetFromTickPx', 'labelCollisionOffsetFromTickPx', 'labelJustification', 'minimumPaddingBetweenLabelsPx', 'labelRotation', and 'labelCollisionRotation'' could be super parameters.
  • UNNECESSARY_THIS - lib/src/chart/common/behavior/a11y/keyboard_domain_navigator.dart:206:21 - Unnecessary 'this.' qualifier.
  • UNNECESSARY_THIS - lib/src/chart/common/behavior/legend/legend.dart:183:32 - Unnecessary 'this.' qualifier.

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.19, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
40
points
1.71k
downloads

Documentation

API reference

Publisher

verified publishernimblesite.co

Weekly Downloads

Charts for Dart. A fork of charts_common

Repository (GitHub)
View/report issues
Contributing

License

Apache-2.0 (license)

Dependencies

collection, intl, logging, meta, vector_math

More

Packages that depend on nimble_charts_common