Skip to content

Migrate to flutter_map v6 #89

Migrate to flutter_map v6

Migrate to flutter_map v6 #89

GitHub Actions / Analysis of flutter_map_tappable_polyline succeeded Oct 18, 2023 in 27s

Package analysis results for flutter_map_tappable_polyline

Score

80/130 points
(61.53846153846154%)

Details

Follow Dart file conventions (30/30)

✔ 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: MIT.

Provide documentation (10/10)

✔ 10/10 points: Package has an example

Platform support (20/20)

✔ 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:flutter_map_tappable_polyline/flutter_map_tappable_polyline.dart that imports:
  • package:flutter_map/flutter_map.dart that imports:
  • package:flutter_map/src/map/widget.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io

Pass static analysis (0/50)

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

ERROR: The method '_forwardCallToMapOptions' isn't defined for the type 'TappablePolylineLayer'.

lib/flutter_map_tappable_polyline.dart:95:11

   ╷
95 │           _forwardCallToMapOptions(details, context, mapState);
   │           ^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

Support up-to-date dependencies (20/20)

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_map ^6.0.0 6.0.0 6.0.0
latlong2 ^0.9.0 0.9.0 0.9.0
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.17.1 1.18.0
http - 1.1.0 1.1.0
http_parser - 4.0.2 4.0.2
intl - 0.18.1 0.18.1
js - 0.6.7 0.6.7
lists - 1.0.1 1.0.1
logger - 2.0.2+1 2.0.2+1
material_color_utilities - 0.2.0 0.8.0
meta - 1.9.1 1.11.0
mgrs_dart - 2.0.0 2.0.0
path - 1.8.3 1.8.3
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
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
vector_math - 2.1.4 2.1.4
wkt_parser - 2.0.0 2.0.0

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

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

Versions