mapbox_flutter 1.0.0-dev.1.1
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

2
likes
120/ 130
pub points
54%
popularity

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

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

0/10 points: Failed to run dartdoc

  • dartdoc failed with:
exitCode: 255
stdout: [2021-12-03T14:50:57.676234] Starting...
Documenting mapbox_flutter...
Initialized dartdoc with 1072 libraries in 150.6 seconds
Generating docs for library mapbox_flutter from package:mapbox_flutter/mapbox_flutter_web.dart...
Generating docs for library mapbox_flutter from package:mapbox_flutter/mapbox_flutter.dart...
Documented 2 public libraries in 2.6 seconds

stderr:   warning: unresolved doc reference [https://docs.mapbox.com/ios/maps/guides/install/]
    from package-mapbox_flutter: file:///tmp/pub-dartlang-dartdocDNQLKU/pkg
  warning: mapbox_flutter has no library level documentation comments
    from mapbox_flutter: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/mapbox_flutter_web.dart:1:9)
  warning: unresolved doc reference [MethodChannelMapboxGl]
    from mapbox_flutter.MapboxFlutterPlatfom.createInstance: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/src/mapbox_flutter_platform_interface.dart:14:42)
    in documentation inherited from mapbox_flutter.MapboxFlutterPlatfom.createInstance: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/src/mapbox_flutter_platform_interface.dart:14:42)
  warning: mapbox_flutter has no library level documentation comments
    from mapbox_flutter: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/mapbox_flutter.dart:5:9)
  warning: unresolved doc reference [`southwest.latitude`, `northeast.latitude`]
    from mapbox_flutter.LatLngBounds: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/src/location.dart:63:7)
  warning: unresolved doc reference [`southwest.longitude`, `northeast.longitude`]
    from mapbox_flutter.LatLngBounds: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/src/location.dart:63:7)
  warning: unresolved doc reference [-180, `northeast.longitude`]
    from mapbox_flutter.LatLngBounds: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/src/location.dart:63:7)
  error: failed to write file at: mapbox_flutter/mapbox_flutter-library.html
    for symbol mapbox_flutter: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/mapbox_flutter.dart:5:9)
    conflicting with file already generated by mapbox_flutter: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/mapbox_flutter_web.dart:1:9)
            Dartdoc generates a path and filename to write to for each symbol.
            mapbox_flutter conflicts with another symbol in the generated path, and
[...]
  error: failed to write file at: mapbox_flutter/MapboxFlutterMapController/toLatLng.html
    for symbol mapbox_flutter.MapboxFlutterMapController.toLatLng: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/src/controller.dart:909:18)
    conflicting with file already generated by mapbox_flutter.MapboxFlutterMapController.toLatLng: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/web_src/mapbox_flutter_map_controller.dart:743:18)
  error: failed to write file at: mapbox_flutter/MapboxFlutterMapController/getMetersPerPixelAtLatitude.html
    for symbol mapbox_flutter.MapboxFlutterMapController.getMetersPerPixelAtLatitude: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/src/controller.dart:915:18)
    conflicting with file already generated by mapbox_flutter.MapboxFlutterMapController.getMetersPerPixelAtLatitude: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/web_src/mapbox_flutter_map_controller.dart:750:18)
  error: failed to write file at: mapbox_flutter/MapboxFlutterMapController/initPlatform.html
    for symbol mapbox_flutter.MapboxFlutterMapController.initPlatform: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/src/controller.dart:192:23)
    conflicting with file already generated by mapbox_flutter.MapboxFlutterMapController.initPlatform: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/web_src/mapbox_flutter_map_controller.dart:48:16)
  error: failed to write file at: mapbox_flutter/OnPlatformViewCreatedCallback.html
    for symbol mapbox_flutter.OnPlatformViewCreatedCallback: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/src/mapbox_flutter_platform_interface.dart:5:9)
    conflicting with file already generated by mapbox_flutter.OnPlatformViewCreatedCallback: (file:///tmp/pub-dartlang-dartdocDNQLKU/pkg/lib/src/mapbox_flutter_platform_interface.dart:5:9)
Found 10 warnings and 114 errors.
Unhandled exception:
encountered 114 errors
#0      Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:241:9)
<asynchronous suspension>
#1      main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:32:19)
<asynchronous suspension>


Support multiple platforms
20 / 20

20/20 points: Supports 3 of 3 possible platforms (iOS, Android, Web)

Found 4 issues. Showing the first 2:

Consider supporting these prerelease platforms:

Package does not support Flutter platform `Windows`.

Because:

  • package:mapbox_flutter/mapbox_flutter.dart that declares support for platforms: Android, iOS, Web.
Pass static analysis
30 / 30

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
flutter_web_pluginsflutter0.0.00.0.0
image^3.0.53.1.03.1.0
mapbox_gl_dart^0.2.0-nullsafety0.2.10.2.1
meta^1.7.01.7.01.7.0
Transitive dependencies
PackageConstraintCompatibleLatest
archive-3.1.63.1.6
characters-1.1.01.2.0
collection-1.15.01.15.0
crypto-3.0.13.0.1
js-0.6.30.6.3
path-1.8.01.8.0
petitparser-4.4.04.4.0
sky_engine-0.0.990.0.99
typed_data-1.3.01.3.0
vector_math-2.1.02.1.1
xml-5.3.15.3.1

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

Support sound null safety
20 / 20

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.4, Flutter 2.5.3, Dart 2.14.4.

2
likes
120
pub points
54%
popularity

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