maplibre_gl 0.20.0 copy "maplibre_gl: ^0.20.0" to clipboard
maplibre_gl: ^0.20.0 copied to clipboard

A Flutter plugin for integrating MapLibre Maps inside a Flutter application on Android, iOS and web platforms.

51
likes
140/ 160
pub points
4.31k
downloads

We analyzed this package 2 days ago, and awarded it 140 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-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

482 out of 877 API elements (55.0 %) have documentation comments.

Some symbols that are missing documentation: maplibre_gl.Annotation, maplibre_gl.Annotation.Annotation, maplibre_gl.Annotation.id, maplibre_gl.Annotation.toGeoJson, maplibre_gl.Annotation.translate.

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:maplibre_gl/maplibre_gl.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

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

Because:

  • package:maplibre_gl/maplibre_gl.dart that declares support for platforms: Android, iOS, Web.

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/maplibre_gl/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

WARNING: This default clause is covered by the previous cases.

lib/src/controller.dart:157:11

    ╷
157 │           default:
    │           ^^^^^^^
    ╵

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

INFO: 'red' is deprecated and shouldn't be used. Use .r.

lib/src/color_tools.dart:5:15

  ╷
5 │     final r = red.toRadixString(16).padLeft(2, '0');
  │               ^^^
  ╵

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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

10/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
maplibre_gl_platform_interface ^0.20.0 0.20.0 0.20.0
maplibre_gl_web ^0.20.0 0.20.0 0.20.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 4.0.2 4.0.2
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
flutter_web_plugins - 0.0.0 0.0.0
image - 4.5.2 4.5.2
js - 0.7.1 0.7.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
posix - 6.0.1 6.0.1
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.

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

51
likes
140
points
4.31k
downloads

Publisher

verified publishermaplibre.org

Weekly Downloads

A Flutter plugin for integrating MapLibre Maps inside a Flutter application on Android, iOS and web platforms.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, maplibre_gl_platform_interface, maplibre_gl_web

More

Packages that depend on maplibre_gl