ymir 2.2.0 copy "ymir: ^2.2.0" to clipboard
ymir: ^2.2.0 copied to clipboard

A new Flutter package for handling FlutterMap package and geographic utils

110/ 160
pub points
249
downloads

We analyzed this package 19 hours ago, and awarded it 110 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: MIT.

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

1004 out of 1386 API elements (72.4 %) have documentation comments.

Some symbols that are missing documentation: cartograph, cartograph.AssetTileProvider.AssetTileProvider.new, cartograph.BBoxUtils, cartograph.BBoxUtils.BBoxUtils.new, cartograph.BBoxUtils.computeDistance.

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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ 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:ymir/ymir.dart that imports:
  • package:flutter_map/flutter_map.dart that imports:
  • package:flutter_map/src/layer/tile_layer/tile_provider/network/tile_provider.dart that imports:
  • package:flutter_map/src/layer/tile_layer/tile_provider/network/image_provider/image_provider.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:ymir/ymir.dart that imports:
  • package:flutter_map/flutter_map.dart that imports:
  • package:flutter_map/src/layer/tile_layer/tile_provider/network/tile_provider.dart that imports:
  • package:flutter_map/src/layer/tile_layer/tile_provider/network/image_provider/image_provider.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

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

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 62 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

lib/src/dto/geojson/geojson_geom.dart:101:57

    ╷
101 │   /// Convertit cette géométrie en GeoJSON standard (Map<String, dynamic>)
    │                                                         ^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/dto/geojson/geojson_geom.dart

INFO: The import of 'package:flutter/foundation.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart'.

lib/src/utils/mapControls/map_tile_switch_controller.dart:2:8

  ╷
2 │ import 'package:flutter/foundation.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/mapControls/map_tile_switch_controller.dart

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

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

Package Constraint Compatible Latest Notes
flutter_map ^8.1.0 8.2.2 8.2.2
geodesy ^0.10.2 0.10.2 0.10.2
lambert ^2.0.0 2.0.0 2.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
dart_earcut - 1.2.0 1.2.0
dart_polylabel2 - 1.0.0 1.0.0
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
latlong2 - 0.9.1 0.9.1
lists - 1.0.1 1.0.1 Discontinued
logger - 2.6.2 2.6.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mgrs_dart - 2.0.0 3.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
proj4dart - 2.1.0 3.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.8
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
wkt_parser - 2.0.0 2.0.0
xdg_directories - 1.1.0 1.1.0

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

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 1 error:

  • UNDEFINED_NAMED_PARAMETER - lib/src/utils/interractiveLayers/interractive_map_layer.dart:150:9 - The named parameter 'invertedFill' isn't defined.

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.23.4, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
249
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter package for handling FlutterMap package and geographic utils

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_map, geodesy, lambert

More

Packages that depend on ymir