supercluster 0.1.0 copy "supercluster: ^0.1.0" to clipboard
supercluster: ^0.1.0 copied to clipboard

outdated

A port of MapBox's javascript supercluster library for fast marker clustering.

7
likes
90/ 160
pub points
2.37k
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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: ISC.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

2 out of 65 API elements (3.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: supercluster.Cluster, supercluster.Cluster.Cluster.new, supercluster.Cluster.clusterData, supercluster.Cluster.copyWith, supercluster.Cluster.id.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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

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 9 issues. Showing the first 2:

ERROR: The getter 'points' isn't defined for the type 'KDBush

lib/src/supercluster.dart:121:25

    ╷
121 │       clusters.add(tree.points[id]);
    │                         ^^^^^^
    ╵

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

ERROR: The getter 'points' isn't defined for the type 'KDBush

lib/src/supercluster.dart:134:27

    ╷
134 │     if (originId >= index.points.length) throw errorMsg;
    │                           ^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
freezed_annotation ^2.0.3 2.4.4 3.0.0
kdbush ^0.0.3 0.0.5 0.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
json_annotation - 4.9.0 4.9.0
meta - 1.16.0 1.16.0

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

The constraint `^2.0.3` on freezed_annotation does not support the stable version `3.0.0`.

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

The constraint `^0.0.3` on kdbush does not support the stable version `0.1.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
7
likes
90
points
2.37k
downloads

Publisher

verified publisherbalanci.ng

Weekly Downloads

A port of MapBox's javascript supercluster library for fast marker clustering.

Repository (GitHub)

Documentation

API reference

License

ISC (license)

Dependencies

freezed_annotation, kdbush

More

Packages that depend on supercluster