open_street_map_search_and_pick 0.1.1 copy "open_street_map_search_and_pick: ^0.1.1" to clipboard
open_street_map_search_and_pick: ^0.1.1 copied to clipboard

A flutter place search and location picker plugin that uses Open Street Map.

85
likes
110/ 140
pub points
94%
popularity

We analyzed this package 9 days ago, and awarded it 110 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: GPL-3.0.

partial
Provide documentation
10 / 20trigger folding of the section

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

4 out of 47 API elements (8.5 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: open_street_map_search_and_pick, open_street_map_search_and_pick.LatLong, open_street_map_search_and_pick.LatLong.LatLong, open_street_map_search_and_pick.LatLong.latitude, open_street_map_search_and_pick.LatLong.longitude.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ macOS
  • ✓ Web

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:open_street_map_search_and_pick/open_street_map_search_and_pick.dart that imports:
  • package:geolocator/geolocator.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.

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

Package does not support platform `Android`.

Because:

  • package:open_street_map_search_and_pick/open_street_map_search_and_pick.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_apple/geolocator_apple.dart that declares support for platforms: iOS, macOS.
Package does not support platform `iOS`.

Because:

  • package:open_street_map_search_and_pick/open_street_map_search_and_pick.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_android/geolocator_android.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:open_street_map_search_and_pick/open_street_map_search_and_pick.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_apple/geolocator_apple.dart that declares support for platforms: iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:open_street_map_search_and_pick/open_street_map_search_and_pick.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_android/geolocator_android.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:open_street_map_search_and_pick/open_street_map_search_and_pick.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_apple/geolocator_apple.dart that declares support for platforms: iOS, macOS.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 14 issues. Showing the first 2:

INFO: 'center' is deprecated and shouldn't be used. Prefer `controller.camera.center`. This getter is now accessible via the camera. This getter is deprecated since v6.

lib/open_street_map_search_and_pick.dart:94:38

   ╷
94 │     double latitude = _mapController.center.latitude;
   │                                      ^^^^^^
   ╵

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

INFO: 'center' is deprecated and shouldn't be used. Prefer `controller.camera.center`. This getter is now accessible via the camera. This getter is deprecated since v6.

lib/open_street_map_search_and_pick.dart:95:39

   ╷
95 │     double longitude = _mapController.center.longitude;
   │                                       ^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
cupertino_icons ^1.0.5 1.0.8 1.0.8
flutter flutter 0.0.0 0.0.0
flutter_map ^6.1.0 6.1.0 6.1.0
geolocator ^10.1.0 10.1.1 11.0.0
http ^1.1.2 1.2.1 1.2.1
latlong2 ^0.9.0 0.9.1 0.9.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
fixnum - 1.1.0 1.1.0
flutter_web_plugins - 0.0.0 0.0.0
geolocator_android - 4.5.4 4.5.4
geolocator_apple - 2.3.7 2.3.7
geolocator_platform_interface - 4.2.2 4.2.2
geolocator_web - 2.2.1 3.0.0
geolocator_windows - 0.2.3 0.2.3
http_parser - 4.0.2 4.0.2
intl - 0.19.0 0.19.0
lists - 1.0.1 1.0.1
logger - 2.2.0 2.2.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
mgrs_dart - 2.0.0 2.0.0
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
polylabel - 1.0.1 1.0.1
proj4dart - 2.1.0 2.1.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.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
unicode - 0.3.1 0.3.1
uuid - 4.4.0 4.4.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
wkt_parser - 2.0.0 2.0.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^10.1.0` on geolocator does not support the stable version `11.0.0`.

Try running dart pub upgrade --major-versions geolocator to update the constraint.

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.

85
likes
110
pub points
94%
popularity

Publisher

verified publisherniharon.com

A flutter place search and location picker plugin that uses Open Street Map.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

cupertino_icons, flutter, flutter_map, geolocator, http, latlong2

More

Packages that depend on open_street_map_search_and_pick