geometry_kit 1.0.0-dev copy "geometry_kit: ^1.0.0-dev" to clipboard
geometry_kit: ^1.0.0-dev copied to clipboard

A set of utils that help with geometry (line, circle, triangle, polygon,...)

4
likes
140/ 160
pub points
69%
popularity

We analyzed this package 4 days ago, and awarded it 140 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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

57 out of 89 API elements (64.0 %) have documentation comments.

Some symbols that are missing documentation: geometry_kit.Circle.center, geometry_kit.Circle.radius, geometry_kit.DegX, geometry_kit.DegX.toRad, geometry_kit.Line.

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
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 6 issues. Showing the first 2:

WARNING: A double can't equal 'double.nan', so the condition is always 'true'.

lib/src/kit/line.dart:49:12

   ╷
49 │     if (a1 != double.nan && a2 != double.nan) {
   │            ^^^^^^^^^^^^^
   ╵

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

WARNING: A double can't equal 'double.nan', so the condition is always 'true'.

lib/src/kit/line.dart:49:32

   ╷
49 │     if (a1 != double.nan && a2 != double.nan) {
   │                                ^^^^^^^^^^^^^
   ╵

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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

No dependencies.

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.7, Dart 3.4.4.

Check the analysis log for details.

4
likes
140
pub points
69%
popularity

Publisher

verified publishersamderlust.com

A set of utils that help with geometry (line, circle, triangle, polygon,...)

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on geometry_kit