mapbox_flutter 1.0.0-dev.1.1 copy "mapbox_flutter: ^1.0.0-dev.1.1" to clipboard
mapbox_flutter: ^1.0.0-dev.1.1 copied to clipboard

A new flutter plugin for mapbox. You can use it for your map backgrounds inside flutter applications

10
likes
70/ 160
pub points
28
downloads

We analyzed this package 6 days ago, and awarded it 70 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

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

OUT: Documenting mapbox_flutter... Discovering libraries... Linking elements... Precaching local docs for 680636 elements... Initialized dartdoc with 1321 libraries Generating docs for library mapbox_flutter.dart from package:mapbox_flutter/mapbox_flutter.dart... Generating docs for library mapbox_flutter_web.dart from package:mapbox_flutter/mapbox_flutter_web.dart... Documented 2 public libraries in 82.5 seconds ERR: warning: unresolved doc reference [https://docs.mapbox.com/ios/maps/guides/install/] from package-mapbox_flutter: file:///tmp/pana_KISKGU warning: mapbox_flutter has no library level documentation comments from mapbox_flutter: (file:///tmp/pana_KISKGU/lib/mapbox_flutter.dart:1:1) warning: unresolved doc reference [southwest.latitude, northeast.latitude] from mapbox_flutter.LatLngBounds: (file:///tmp/pana_KISKGU/lib/mapbox_flutter.dart:63:7) warning: unresolved doc reference [southwest.longitude, northeast.longitude] from mapbox_flutter.LatLngBounds: (file:///tmp/pana_KISKGU/lib/mapbox_flutter.dart:63:7) warning: unresolved doc reference [-180, northeast.longitude] from mapbox_flutter.LatLngBounds: (file:///tmp/pana_KISKGU/lib/mapbox_flutter.dart:63:7) [381 more lines]

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:mapbox_flutter/mapbox_flutter.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:mapbox_flutter/mapbox_flutter.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:mapbox_flutter/mapbox_flutter.dart that declares support for platforms: Android, iOS, 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 53 issues. Showing the first 2:

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

lib/src/camera.dart:83:23

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

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

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

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
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
image ^3.0.5 3.3.0 4.5.4
mapbox_gl_dart ^0.2.0-nullsafety 0.2.1 0.2.1
meta ^1.7.0 1.16.0 1.16.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.5
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.12.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 6.1.0
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
xml - 6.5.0 6.5.0

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

The constraint `^3.0.5` on image does not support the stable version `4.0.0`.

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

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 6 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:
Jul 8Aug 5Sep 2Sep 30Oct 28Nov 25Dec 23Jan 20Feb 17Mar 1702468101214>=1.0.0-0 <2.0.0
10
likes
70
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.23 - 2025.04.07

A new flutter plugin for mapbox. You can use it for your map backgrounds inside flutter applications

Repository (GitHub)

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter, flutter_web_plugins, image, mapbox_gl_dart, meta

More

Packages that depend on mapbox_flutter