web_mercator 0.9.4+1 icon indicating copy to clipboard operation
web_mercator: ^0.9.4+1 copied to clipboard

Dart implementation of the uber @math.gl/web-mercator javascript module.

1
likes
105/ 140
pub points
0%
popularity

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

icon indicating section status
Follow Dart file conventions
25 / 30icon to trigger 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

5/10 points: Use an OSI-approved license

Detected licenses: WTFPL, MIT.

The following license are not OSI-approved: WTFPL.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 23 out of 51 API elements (45.1 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger 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
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

Found 4 issues. Showing the first 2:

INFO: 'hashObjects' is deprecated and shouldn't be used. Use Object.hashAll instead.

lib/mercator_viewport.dart:202:30

    ╷
202 │   int get hashCode => quiver.hashObjects([width, height, viewMatrix, projMatrix]);
    │                              ^^^^^^^^^^^
    ╵

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

INFO: 'package:vector_math/hash.dart' is deprecated and shouldn't be used. Use Object.hashAll instead.

lib/web_mercator.dart:6:1

  ╷
6 │ import 'package:vector_math/hash.dart' as quiver;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
meta>=1.1.1 <2.0.01.8.01.8.0
vector_math^2.0.82.1.22.1.4
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.2.11.2.1
collection-1.16.01.17.0
material_color_utilities-0.1.50.2.0
sky_engine-0.0.990.0.99

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

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint >=2.1.0 <3.0.0) is less than 2.12.

Consider migrating.

Analysed with Pana 0.21.21, Flutter 3.3.9, Dart 2.18.5.

1
likes
105
pub points
0%
popularity

Publisher

verified publisher iconpenumbra.me

Dart implementation of the uber @math.gl/web-mercator javascript module.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.WTFPL, MIT (LICENSE)

Dependencies

flutter, meta, vector_math

More

Packages that depend on web_mercator