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

PolarisMapEditor is a library for creating map editors with a celestial touch, allowing users to interactively draw areas on the map.

130/ 160
pub points
49
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

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

OUT: Documenting polaris_map_editor... Discovering libraries... Linking elements... Precaching local docs for 1230471 elements... Initialized dartdoc with 1401 libraries Generating docs for library models/editor.dart from package:polaris_map_editor/models/editor.dart... Generating docs for library models/drag.dart from package:polaris_map_editor/models/drag.dart... Generating docs for library models/place.dart from package:polaris_map_editor/models/place.dart... Generating docs for library support/helpers.dart from package:polaris_map_editor/support/helpers.dart... Generating docs for library contracts/place_repository.dart from package:polaris_map_editor/contracts/place_repository.dart... [33 more lines] ERR: warning: polaris_map_editor has no library level documentation comments from polaris_map_editor: (file:///tmp/pana_KVAJWA/lib/polaris_map_editor_dependencies.dart:1:1) warning: polaris_map_editor has no library level documentation comments from polaris_map_editor: (file:///tmp/pana_KVAJWA/lib/polaris_map_editor.dart:1:1) error: file already written at "polaris_map_editor/index.html" for symbol polaris_map_editor: (file:///tmp/pana_KVAJWA/lib/polaris_map_editor.dart:1:1) conflicting with file already generated by polaris_map_editor: (file:///tmp/pana_KVAJWA/lib/polaris_map_editor_dependencies.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'polaris_map_editor' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library [18 more lines]

Passed check 10/10 points: Package has 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:polaris_map_editor/polaris_map_editor.dart that imports:
  • package:polaris_map_editor/widgets/polaris_map_editor.dart that imports:
  • package:polaris_map_editor/widgets/polaris_search_places_automplete.dart that imports:
  • package:polaris_map_editor/options/polaris_options.dart that imports:
  • package:polaris_map_editor/options/area_options.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/advanced_file_output_stub.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:polaris_map_editor/polaris_map_editor.dart that imports:
  • package:polaris_map_editor/widgets/polaris_map_editor.dart that imports:
  • package:polaris_map_editor/widgets/polaris_search_places_automplete.dart that imports:
  • package:polaris_map_editor/options/polaris_options.dart that imports:
  • package:polaris_map_editor/options/area_options.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/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 6 issues. Showing the first 2:

INFO: Missing type annotation.

lib/enums/status_fetch_data.dart:8:7

  ╷
8 │   get isInitial => this == StatusFetchData.initial;
  │       ^^^^^^^^^
  ╵

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

INFO: Missing type annotation.

lib/enums/status_fetch_data.dart:10:7

   ╷
10 │   get isCompleted => this == StatusFetchData.fetched;
   │       ^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
bloc ^8.1.2 8.1.4 9.1.0
easy_debounce ^2.0.3 2.0.3 2.0.3
flutter_bloc ^8.1.3 8.1.6 9.1.1
flutter_google_maps_webservices ^1.1.1 1.1.1 1.1.1
flutter_map ^6.1.0 6.2.1 8.2.2
galactic_hotkeys ^1.1.1 1.1.1 1.1.1
latlong2 ^0.9.0 0.9.1 0.9.1
provider ^6.1.1 6.1.5+1 6.1.5+1
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
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
json_annotation - 4.9.0 4.9.0
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
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
polylabel - 1.0.1 1.0.1
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
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
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 `^8.1.2` on bloc does not support the stable version `9.0.0`.

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

The constraint `^8.1.3` on flutter_bloc does not support the stable version `9.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
130
points
49
downloads

Publisher

verified publishercosmos-in-code.com

Weekly Downloads

PolarisMapEditor is a library for creating map editors with a celestial touch, allowing users to interactively draw areas on the map.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

bloc, easy_debounce, flutter, flutter_bloc, flutter_google_maps_webservices, flutter_map, galactic_hotkeys, latlong2, provider

More

Packages that depend on polaris_map_editor