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
58
downloads

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

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 609 API elements (23.2 %) 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.

failed
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

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
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: 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
Support up-to-date dependencies
10 / 40trigger 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.12.0 2.12.0
collection ^1.15.0 1.19.0 1.19.1
flutter flutter 0.0.0 0.0.0
http ^0.13.3 0.13.6 1.2.2
intl ^0.17.0 0.17.0 0.20.1
latlong2 ^0.8.0 0.8.2 0.9.1
meta ^1.3.0 1.15.0 1.16.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.4.0
clock - 1.1.2 1.1.2
http_parser - 4.1.1 4.1.1
lists - 1.0.1 1.0.1
material_color_utilities - 0.11.1 0.12.0
mgrs_dart - 2.0.0 2.0.0
path - 1.9.1 1.9.1
sky_engine - 0.0.0 0.0.0
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.6
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

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

4
likes
60
points
58
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