mapbox_gl_platform_interface 0.15.0 copy "mapbox_gl_platform_interface: ^0.15.0" to clipboard
mapbox_gl_platform_interface: ^0.15.0 copied to clipboard

outdated

A common platform interface for the mapbox_gl plugin.

2
likes
80/ 160
pub points
2.59k
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

133 out of 418 API elements (31.8 %) have documentation comments.

Some symbols that are missing documentation: mapbox_gl_platform_interface, mapbox_gl_platform_interface.ArgumentCallbacks.ArgumentCallbacks.new, mapbox_gl_platform_interface.CameraPosition.CameraPosition.new, mapbox_gl_platform_interface.CameraPosition.fromMap, mapbox_gl_platform_interface.CameraPosition.toMap.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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

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

Found 26 issues. Showing the first 2:

ERROR: The method 'hashValues' isn't defined for the type 'CameraPosition'.

lib/src/camera.dart:83:23

   ╷
83 │   int get hashCode => hashValues(bearing, target, tilt, zoom);
   │                       ^^^^^^^^^^
   ╵

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

ERROR: The method 'hashValues' isn't defined for the type 'LatLng'.

lib/src/location.dart:52:23

   ╷
52 │   int get hashCode => hashValues(latitude, longitude);
   │                       ^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
meta ^1.0.5 1.16.0 1.16.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.12.0
vector_math - 2.1.4 2.1.5

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 5 errors:

  • UNDEFINED_METHOD - lib/src/camera.dart:83:23 - The method 'hashValues' isn't defined for the type 'CameraPosition'.
  • UNDEFINED_METHOD - lib/src/location.dart:52:23 - The method 'hashValues' isn't defined for the type 'LatLng'.
  • UNDEFINED_METHOD - lib/src/location.dart:105:23 - The method 'hashValues' isn't defined for the type 'LatLngBounds'.

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.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
80
points
2.59k
downloads

Publisher

unverified uploader

Weekly Downloads

A common platform interface for the mapbox_gl plugin.

Repository (GitHub)
Contributing

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter, meta

More

Packages that depend on mapbox_gl_platform_interface