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.

3
likes
90/ 160
pub points
76%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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

partial
Provide documentation
10 / 20trigger folding of the section

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, supercluster.Cluster.clusterData, supercluster.Cluster.copyWith, supercluster.Cluster.id.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
failed
Pass static analysis
0 / 50trigger folding of the section

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
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
freezed_annotation ^2.0.3 2.4.1 2.4.1
kdbush ^0.0.3 0.0.5 0.1.0
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
json_annotation - 4.9.0 4.9.0
meta - 1.15.0 1.15.0

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

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.

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.5, Dart 3.4.1.

Check the analysis log for details.

3
likes
90
pub points
76%
popularity

Publisher

verified publisherbalanci.ng

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

ISC (LICENSE)

Dependencies

freezed_annotation, kdbush

More

Packages that depend on supercluster