mapbox_gl_dart 0.2.1 copy "mapbox_gl_dart: ^0.2.1" to clipboard
mapbox_gl_dart: ^0.2.1 copied to clipboard

Platformweb

Mapbox-gl wrapper for Dart. Library to use Mapbox GL JS in your web Dart projects.

7
likes
110/ 140
pub points
72%
popularity

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

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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

379 out of 675 API elements (56.1 %) have documentation comments.

Some symbols that are missing documentation: mapboxgl.AnimationOptions.animate, mapboxgl.AnimationOptions.duration, mapboxgl.AnimationOptions.easing, mapboxgl.AnimationOptions.essential, mapboxgl.AnimationOptions.offset.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Web

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:mapbox_gl_dart/mapbox_gl_dart.dart that imports:
  • package:mapbox_gl_dart/src/util/evented.dart that imports:
  • package:mapbox_gl_dart/src/interop/interop.dart that imports:
  • package:mapbox_gl_dart/src/interop/util/evented_interop.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform iOS

Because:

  • package:mapbox_gl_dart/mapbox_gl_dart.dart that imports:
  • package:mapbox_gl_dart/src/util/evented.dart that imports:
  • package:mapbox_gl_dart/src/interop/interop.dart that imports:
  • package:mapbox_gl_dart/src/interop/util/evented_interop.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform Windows

Because:

  • package:mapbox_gl_dart/mapbox_gl_dart.dart that imports:
  • package:mapbox_gl_dart/src/util/evented.dart that imports:
  • package:mapbox_gl_dart/src/interop/interop.dart that imports:
  • package:mapbox_gl_dart/src/interop/util/evented_interop.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform Linux

Because:

  • package:mapbox_gl_dart/mapbox_gl_dart.dart that imports:
  • package:mapbox_gl_dart/src/util/evented.dart that imports:
  • package:mapbox_gl_dart/src/interop/interop.dart that imports:
  • package:mapbox_gl_dart/src/interop/util/evented_interop.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform macOS

Because:

  • package:mapbox_gl_dart/mapbox_gl_dart.dart that imports:
  • package:mapbox_gl_dart/src/util/evented.dart that imports:
  • package:mapbox_gl_dart/src/interop/interop.dart that imports:
  • package:mapbox_gl_dart/src/interop/util/evented_interop.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 16 issues. Showing the first 2:

WARNING: Doc directive 'link' is unknown.

lib/src/interop/ui/camera_interop.dart:37:8

   ╷
37 │ ///  {@link MapboxMap#easeTo}, controlling the duration and easing function of the animation. All properties
   │        ^^^^
   ╵

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

WARNING: Doc directive 'link' is unknown.

lib/src/interop/ui/camera_interop.dart:319:14

    ╷
319 │   ///      {@link MapboxMap#easeTo}. If `false`, the map transitions using {@link MapboxMap#flyTo}. See
    │              ^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
js ^0.6.3 0.6.7 0.7.1
Transitive dependencies
Package Constraint Compatible Latest
meta - 1.14.0 1.14.0

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

The constraint `^0.6.3` on js does not support the stable version `0.7.0`.

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

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

7
likes
110
pub points
72%
popularity

Publisher

unverified uploader

Mapbox-gl wrapper for Dart. Library to use Mapbox GL JS in your web Dart projects.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

js

More

Packages that depend on mapbox_gl_dart