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
32
downloads

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

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-2-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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 674497 elements... Initialized dartdoc with 1316 libraries Generating docs for library mapbox_flutter_web.dart from package:mapbox_flutter/mapbox_flutter_web.dart... Generating docs for library mapbox_flutter.dart from package:mapbox_flutter/mapbox_flutter.dart... Documented 2 public libraries in 62.0 seconds ERR: warning: unresolved doc reference [https://docs.mapbox.com/ios/maps/guides/install/] from package-mapbox_flutter: file:///tmp/pana_ERPKSF warning: mapbox_flutter has no library level documentation comments from mapbox_flutter: (file:///tmp/pana_ERPKSF/lib/mapbox_flutter_web.dart:1:9) warning: unresolved doc reference [MethodChannelMapboxGl] from mapbox_flutter.MapboxFlutterPlatfom.createInstance: (file:///tmp/pana_ERPKSF/lib/src/mapbox_flutter_platform_interface.dart:14:42) in documentation inherited from mapbox_flutter.MapboxFlutterPlatfom.createInstance: (file:///tmp/pana_ERPKSF/lib/src/mapbox_flutter_platform_interface.dart:14:42) warning: mapbox_flutter has no library level documentation comments from mapbox_flutter: (file:///tmp/pana_ERPKSF/lib/mapbox_flutter.dart:5:9) warning: unresolved doc reference [southwest.latitude, northeast.latitude] [381 more lines]

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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.

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 51 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
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
flutter flutter 0.0.0 0.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
image ^3.0.5 3.3.0 4.5.2
mapbox_gl_dart ^0.2.0-nullsafety 0.2.1 0.2.1
meta ^1.7.0 1.15.0 1.16.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 4.0.2
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
crypto - 3.0.6 3.0.6
js - 0.6.7 0.7.1
material_color_utilities - 0.11.1 0.12.0
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
sky_engine - 0.0.0 0.0.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.

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 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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

10
likes
70
points
32
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

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