flutter_osm_plugin 1.0.3 copy "flutter_osm_plugin: ^1.0.3" to clipboard
flutter_osm_plugin: ^1.0.3 copied to clipboard

OpenStreetMap Plugin Native for flutter apps (Andoird/iOS/web)

384
likes
130/ 140
pub points
97%
popularity

We analyzed this package 24 hours ago, and awarded it 130 pub points (of a possible 140):

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

87 out of 346 API elements (25.1 %) have documentation comments.

Some symbols that are missing documentation: osm_flutter, osm_flutter.Address, osm_flutter.Address.Address, osm_flutter.Address.city, osm_flutter.Address.country.

10/10 points: Package has an example

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

Because:

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

Because:

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

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:flutter_osm_plugin/flutter_osm_plugin.dart that imports:
  • package:flutter_osm_plugin/src/common/osm_option.dart that imports:
  • package:flutter_osm_interface/flutter_osm_interface.dart that imports:
  • package:flutter_osm_interface/src/map_controller/i_base_map_controller.dart that imports:
  • package:flutter_osm_interface/src/map_controller/base_map_controller.dart that imports:
  • package:flutter_osm_interface/src/types/types.dart that imports:
  • package:flutter_osm_interface/src/types/custom_tile.dart that imports:
  • package:flutter_osm_interface/src/common/utilities.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Empty catch block.

lib/src/widgets/copyright_osm_widget.dart:37:42

   ╷
37 │                   } on PlatformException {}
   │                                          ^^
   ╵

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

INFO: Unnecessary override.

lib/src/widgets/mobile_osm_flutter.dart:156:12

    ╷
156 │   bool get mounted => super.mounted;
    │            ^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
dio ^5.3.3 5.4.3+1 5.4.3+1
flutter flutter 0.0.0 0.0.0
flutter_osm_interface ^1.0.1 1.0.1 1.0.1
flutter_osm_web >=1.0.2 <1.0.3 1.0.2 1.0.2
flutter_plugin_android_lifecycle ^2.0.17 2.0.19 2.0.19
flutter_web_plugins flutter 0.0.0 0.0.0
permission_handler ^11.0.1 11.3.1 11.3.1
plugin_platform_interface ^2.1.2 2.1.8 2.1.8
url_launcher ^6.2.1 6.2.6 6.2.6
uuid ^4.2.1 4.4.0 4.4.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
fixnum - 1.1.0 1.1.0
google_polyline_algorithm - 3.1.0 3.1.0
http_parser - 4.0.2 4.0.2
js - 0.7.1 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
permission_handler_android - 12.0.5 12.0.5
permission_handler_apple - 9.4.4 9.4.4
permission_handler_html - 0.1.1 0.1.1
permission_handler_platform_interface - 4.2.1 4.2.1
permission_handler_windows - 0.2.1 0.2.1
routing_client_dart - 0.5.5 0.5.5
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stream_transform - 2.1.0 2.1.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.1 6.3.1
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.