sbb_maps_flutter 2.9.1
sbb_maps_flutter: ^2.9.1 copied to clipboard
Incorporate SBB styled maps into your flutter application based on Maplibre.
We analyzed this package 30 hours ago, and awarded it 135 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
Links in `README.md` should be well formed Unable to parse 5 image links.
README.md:3:16
╷
3 │ client for the <a href="(https://developer.sbb.ch/apis/journey-maps/information)">Journey Maps API</a>. You need to register your application
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
292 out of 647 API elements (45.1 %) have documentation comments.
Some symbols that are missing documentation: sbb_maps_flutter, sbb_maps_flutter.AnnotationException, sbb_maps_flutter.AnnotationException.AnnotationException.new, sbb_maps_flutter.AnnotationException.msg, sbb_maps_flutter.LatLng.operator +.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:sbb_maps_flutter/sbb_maps_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:sbb_maps_flutter/sbb_maps_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:sbb_maps_flutter/sbb_maps_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:sbb_maps_flutter/sbb_maps_flutter.dartthat declares support for platforms:Android,iOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 27 issues. Showing the first 2:
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/sbb_map/sbb_map.dart:3:1
╷
3 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/sbb_map/sbb_map.dart
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/sbb_map_controller/sbb_map_controller.dart:1:1
╷
1 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/sbb_map_controller/sbb_map_controller.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.19.0 |
1.19.1 | 1.19.1 | |
logger |
^2.7.0 |
2.8.0 | 2.8.0 | |
maplibre_gl |
^0.27.0 |
0.27.1 | 0.28.1 | |
permission_handler |
^12.0.3 |
12.0.3 | 13.0.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.7.1 | 4.7.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
ffi |
- | 2.2.0 | 2.2.0 | |
image |
- | 4.13.1 | 4.13.1 | |
listen |
- | 1.0.1 | 1.0.1 | |
maplibre_gl_platform_interface |
- | 0.27.1 | 0.28.1 | |
maplibre_gl_web |
- | 0.27.1 | 0.28.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
permission_handler_android |
- | 13.0.1 | 14.1.1 | |
permission_handler_apple |
- | 9.6.5 | 9.6.5 | |
permission_handler_html |
- | 0.1.4+1 | 0.1.4+1 | |
permission_handler_platform_interface |
- | 4.5.0 | 4.5.0 | |
permission_handler_windows |
- | 0.2.6 | 0.2.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.5.4 | 6.5.4 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.4.4 | 2.4.4 | |
web |
- | 1.1.2 | 1.1.2 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.27.0` on maplibre_gl does not support the stable version `0.28.0`.
Try running dart pub upgrade --major-versions maplibre_gl to update the constraint.
The constraint `^12.0.3` on permission_handler does not support the stable version `13.0.0`.
Try running dart pub upgrade --major-versions permission_handler to update the constraint.
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.23.19, Flutter 3.50.1, Dart 3.14.0.
Check the analysis log for details.