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/ 160
pub points
35
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

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

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

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

141 out of 623 API elements (22.6 %) have documentation comments.

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

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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 check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 20 issues. Showing the first 2:

ERROR: The getter 'headline5' isn't defined for the type 'TextTheme'.

lib/src/layer/tile_builder/tile_builder.dart:89:48

   ╷
89 │             style: Theme.of(context).textTheme.headline5,
   │                                                ^^^^^^^^^
   ╵

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

ERROR: The getter 'headline5' isn't defined for the type 'TextTheme'.

lib/src/layer/tile_builder/tile_builder.dart:118:48

    ╷
118 │             style: Theme.of(context).textTheme.headline5,
    │                                                ^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
async ^2.6.1 2.13.0 2.13.0
collection ^1.15.0 1.19.1 1.19.1
http ^0.13.3 0.13.6 1.4.0
intl ^0.17.0 0.17.0 0.20.2
latlong2 ^0.8.0 0.8.2 0.9.1
meta ^1.3.0 1.16.0 1.17.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.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
http_parser - 4.1.2 4.1.2
lists - 1.0.1 1.0.1 Discontinued
material_color_utilities - 0.11.1 0.13.0
mgrs_dart - 2.0.0 2.0.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
unicode - 0.3.1 1.1.8
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.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 5 errors:

  • UNDEFINED_GETTER - lib/src/layer/tile_builder/tile_builder.dart:89:48 - The getter 'headline5' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/src/layer/tile_builder/tile_builder.dart:118:48 - The getter 'headline5' isn't defined for the type 'TextTheme'.
  • INVALID_CONSTANT - lib/src/layer/tile_layer.dart:1205:47 - Invalid constant value.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
60
points
35
downloads

Publisher

unverified uploader

Weekly Downloads

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