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

discontinued

Boolean operations on polygons (union, intersection, difference, xor) (this library is a port for flutter of polybooljs.

3
likes
55/ 160
pub points
40
downloads

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

failed
Follow Dart file conventions
15 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: poly_bool_dart,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: poly_bool_dart.

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:53:5

   ╷
53 │ <li><a href="http://www.cs.ucr.edu/~vbz/cs230papers/martinez_boolean.pdf">Paper</a></li>
   │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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

61 out of 217 API elements (28.1 %) have documentation comments.

Some symbols that are missing documentation: build_log, build_log.BuildLog, build_log.BuildLog.BuildLog, epsilon, epsilon.Epsilon.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
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

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
Pass static analysis
0 / 50trigger folding of the section

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

Found 212 issues. Showing the first 2:

ERROR: The language version must be >=2.12.0.

lib/build_log.dart:1:1

  ╷
1 │ //@dart=2.11
  │ ^^^^^^^^^^^^
  ╵

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

ERROR: The language version must be >=2.12.0.

lib/epsilon.dart:1:1

  ╷
1 │ //@dart=2.11
  │ ^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
dart_jts ^0.2.1 0.2.6 0.3.0+1
flutter flutter 0.0.0 0.0.0
latlong2 ^0.8.1 0.8.2 0.9.1
quiver ^3.0.1+1 3.2.2 3.2.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
intl - 0.20.1 0.20.1
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0

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

The constraint `^0.2.1` on dart_jts does not support the stable version `0.3.0`.

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

The constraint `^0.8.1` on latlong2 does not support the stable version `0.9.0`.

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

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 114 errors:

  • ILLEGAL_LANGUAGE_VERSION_OVERRIDE - lib/build_log.dart:1:1 - The language version must be >=2.12.0.
  • ILLEGAL_LANGUAGE_VERSION_OVERRIDE - lib/epsilon.dart:1:1 - The language version must be >=2.12.0.
  • BODY_MIGHT_COMPLETE_NORMALLY - lib/epsilon.dart:16:8 - The body might complete normally, causing 'null' to be returned, but the return type, 'bool', is a potentially non-nullable type.

Run flutter pub downgrade and then flutter 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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

3
likes
55
points
40
downloads

Publisher

unverified uploader

Weekly Downloads

Boolean operations on polygons (union, intersection, difference, xor) (this library is a port for flutter of polybooljs.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

dart_jts, flutter, latlong2, quiver

More

Packages that depend on poly_bool_dart