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

A Dart implementation of Leaflet to provide a Map widget for Flutter apps

4
likes
60/ 140
pub points
30%
popularity

We analyzed this package 5 days ago, and awarded it 60 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

  • pubspec.yaml doesn't have a homepage entry.
  • pubspec.yaml doesn't have a repository entry.

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

141 out of 612 API elements (23.0 %) have documentation comments.

Some symbols that are missing documentation: flutter_ek_osm_map, flutter_ek_osm_map.FitBoundsOptions, flutter_ek_osm_map.FitBoundsOptions.FitBoundsOptions, flutter_ek_osm_map.FitBoundsOptions.inside, flutter_ek_osm_map.FitBoundsOptions.maxZoom.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:flutter_ek_osm_map/flutter_ek_osm_map.dart that imports:
  • package:flutter_ek_osm_map/src/layer/tile_provider/tile_provider.dart that imports:
  • dart:io
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 20 issues. Showing the first 2:

ERROR: Invalid constant value.

lib/src/layer/tile_layer.dart:1205:47

     ╷
1205 │       bounds.max.unscaleBy(tileSize).ceil() - const CustomPoint(1, 1),
     │                                               ^^^^^^^^^^^^^^^^^^^^^^^
     ╵

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

ERROR: Undefined class 'DecoderCallback'.

lib/src/layer/tile_provider/network_image_with_retry.dart:33:34

   ╷
33 │       NetworkImageWithRetry key, DecoderCallback decode) async {
   │                                  ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/layer/tile_provider/network_image_with_retry.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
async ^2.6.1 2.11.0 2.11.0
collection ^1.15.0 1.18.0 1.18.0
flutter flutter 0.0.0 0.0.0
http ^0.13.3 0.13.6 1.2.1
intl ^0.17.0 0.17.0 0.19.0
latlong2 ^0.8.0 0.8.2 0.9.1
meta ^1.3.0 1.11.0 1.14.0
positioned_tap_detector_2 ^1.0.0 1.0.4 1.0.4
proj4dart ^2.0.0 2.1.0 2.1.0
transparent_image ^2.0.0 2.0.1 2.0.1
tuple ^2.0.0 2.0.2 2.0.2
vector_math ^2.1.0 2.1.4 2.1.4
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
http_parser - 4.0.2 4.0.2
lists - 1.0.1 1.0.1
material_color_utilities - 0.8.0 0.11.1
mgrs_dart - 2.0.0 2.0.0
path - 1.9.0 1.9.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.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
wkt_parser - 2.0.0 2.0.0

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

Found 3 issues. Showing the first 2:

The constraint `^0.13.3` on http does not support the stable version `1.0.0`.

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

The constraint `^0.17.0` on intl does not support the stable version `0.18.0`.

Try running dart pub upgrade --major-versions intl 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.

4
likes
60
pub points
30%
popularity

Publisher

unverified uploader

A Dart implementation of Leaflet to provide a Map widget for Flutter apps

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

async, collection, flutter, http, intl, latlong2, meta, positioned_tap_detector_2, proj4dart, transparent_image, tuple, vector_math

More

Packages that depend on flutter_ek_osm_map