power_geojson 0.0.4 copy "power_geojson: ^0.0.4" to clipboard
power_geojson: ^0.0.4 copied to clipboard

A Powerful tool for Geojson with flutter_map, styled from properties, supports esri json, soon supports multiple projection and coordinate systems

2
likes
100/ 160
pub points
33%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

129 out of 186 API elements (69.4 %) have documentation comments.

Some symbols that are missing documentation: power_geojson, power_geojson.HexColor, power_geojson.LayerPolylineIndexes, power_geojson.ListABC, power_geojson.MarkerXX.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:power_geojson/power_geojson.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:power_geojson/power_geojson.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:power_geojson/power_geojson.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:power_geojson/power_geojson.dart that declares support for platforms: Android, iOS.

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 3 issues. Showing the first 2:

ERROR: The argument type 'GeoJSONGeometry?' can't be assigned to the parameter type 'GeoJSONGeometry'.

lib/src/geojson_widget/feature_collection/properties.dart:97:26

   ╷
97 │     return parseGeometry(geometry,
   │                          ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/geojson_widget/feature_collection/properties.dart

ERROR: The argument type 'GeoJSONGeometry?' can't be assigned to the parameter type 'GeoJSONGeometry'.

lib/src/geojson_widget/feature_collection/properties.dart:193:11

    ╷
193 │           geom.geometry,
    │           ^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/geojson_widget/feature_collection/properties.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
console_tools ^1.0.0 1.0.1 1.0.1
flutter flutter 0.0.0 0.0.0
flutter_map ^5.0.0 5.0.0 7.0.2
geodesy ^0.7.0 0.7.0 0.10.2
geojson_vi ^2.2.0 2.2.5 2.2.5
http ^1.0.0 1.2.2 1.2.2
latlong2 ^0.9.0 0.9.1 0.9.1
path_provider ^2.0.11 2.1.5 2.1.5
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
point_in_polygon ^1.0.0 1.0.0 1.0.0
turf ^0.0.8 0.0.10 0.0.10
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
benchmark - 0.3.0 0.3.0
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
dart_sort_queue - 0.0.2+3 0.0.2+3
ffi - 2.1.3 2.1.3
geotypes - 0.0.2 0.0.2
http_parser - 4.0.2 4.1.1
intl - 0.19.0 0.20.0
json_annotation - 4.9.0 4.9.0
lists - 1.0.1 1.0.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mgrs_dart - 2.0.0 2.0.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
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
polylabel - 1.0.1 1.0.1
proj4dart - 2.1.0 2.1.0
rbush - 1.1.1 1.1.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
sweepline_intersections - 0.0.4 0.0.4
term_glyph - 1.2.1 1.2.1
turf_equality - 0.1.0 0.1.0
turf_pip - 0.0.2 0.0.2
typed_data - 1.4.0 1.4.0
unicode - 0.3.1 0.3.1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
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.

The constraint `^5.0.0` on flutter_map does not support the stable version `6.0.0`.

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

The constraint `^0.7.0` on geodesy does not support the stable version `0.8.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

2
likes
100
pub points
33%
popularity

Publisher

unverified uploader

A Powerful tool for Geojson with flutter_map, styled from properties, supports esri json, soon supports multiple projection and coordinate systems

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

console_tools, flutter, flutter_map, geodesy, geojson_vi, http, latlong2, path_provider, plugin_platform_interface, point_in_polygon, turf

More

Packages that depend on power_geojson