flet_map 0.25.2 flet_map: ^0.25.2 copied to clipboard
Flet Map control
We analyzed this package 3 hours ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
Repository URL doesn't exist.
At the time of the analysis https://github.com/flet-dev/flet/packages/flet_map
was unreachable. Make sure that the website is reachable via HEAD
requests.
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: Apache-2.0
.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 3 API elements (0.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: flet_map
, flet_map.createControl
, flet_map.ensureInitialized
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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 does not support platform `Android`.
Because:
package:flet_map/flet_map.dart
that imports:package:flet_map/src/create_control.dart
that imports:package:flet_map/src/tile_layer.dart
that imports:package:flet_map/src/utils/map.dart
that imports:package:flet/flet.dart
that imports:package:flet/src/utils.dart
that imports:package:window_manager/window_manager.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `iOS`.
Because:
package:flet_map/flet_map.dart
that imports:package:flet_map/src/create_control.dart
that imports:package:flet_map/src/tile_layer.dart
that imports:package:flet_map/src/utils/map.dart
that imports:package:flet/flet.dart
that imports:package:flet/src/utils.dart
that imports:package:window_manager/window_manager.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `Windows`.
Because:
package:flet_map/flet_map.dart
that imports:package:flet_map/src/create_control.dart
that imports:package:flet_map/src/tile_layer.dart
that imports:package:flet_map/src/utils/map.dart
that imports:package:flet/flet.dart
that imports:package:flet/src/flet_app.dart
that imports:package:flet/src/flet_app_main.dart
that imports:package:flet/src/controls/create_control.dart
that imports:package:flet/src/controls/shake_detector.dart
that imports:package:sensors_plus/sensors_plus.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:flet_map/flet_map.dart
that imports:package:flet_map/src/create_control.dart
that imports:package:flet_map/src/tile_layer.dart
that imports:package:flet_map/src/utils/map.dart
that imports:package:flet/flet.dart
that imports:package:flet/src/flet_app.dart
that imports:package:flet/src/flet_app_main.dart
that imports:package:flet/src/controls/create_control.dart
that imports:package:flet/src/controls/shake_detector.dart
that imports:package:sensors_plus/sensors_plus.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:flet_map/flet_map.dart
that imports:package:flet_map/src/create_control.dart
that imports:package:flet_map/src/tile_layer.dart
that imports:package:flet_map/src/utils/map.dart
that imports:package:flet/flet.dart
that imports:package:flet/src/flet_app.dart
that imports:package:flet/src/flet_app_main.dart
that imports:package:flet/src/controls/create_control.dart
that imports:package:flet/src/controls/shake_detector.dart
that imports:package:sensors_plus/sensors_plus.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Web`.
Because:
package:flet_map/flet_map.dart
that imports:package:flet_map/src/create_control.dart
that imports:package:flet_map/src/tile_layer.dart
that imports:package:flet_map/src/utils/map.dart
that imports:package:flet/flet.dart
that imports:package:flet/src/utils.dart
that imports:package:window_manager/window_manager.dart
that declares support for platforms:Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flet_map/flet_map.dart
that imports:package:flet_map/src/create_control.dart
that imports:package:flet_map/src/tile_layer.dart
that imports:package:flet_map/src/utils/map.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.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
WARNING: Unused import: 'dart:convert'.
lib/src/map.dart:1:8
╷
1 │ import 'dart:convert';
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/map.dart
INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.
lib/src/polygon_layer.dart:52:22
╷
52 │ .whereNotNull()
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/polygon_layer.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.16.0 |
1.19.0 | 1.19.1 |
flet |
^0.25.2 |
0.25.2 | 0.25.2 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_map |
^7.0.2 |
7.0.2 | 7.0.2 |
flutter_map_animations |
^0.8.0 |
0.8.0 | 0.8.0 |
flutter_map_cancellable_tile_provider |
^3.0.2 |
3.0.2 | 3.0.2 |
latlong2 |
^0.9.1 |
0.9.1 | 0.9.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.4.0 |
clock |
- | 1.1.1 | 1.1.2 |
cross_file |
- | 0.3.4+2 | 0.3.4+2 |
crypto |
- | 3.0.6 | 3.0.6 |
dart_earcut |
- | 1.1.0 | 1.1.0 |
dio |
- | 5.7.0 | 5.7.0 |
dio_web_adapter |
- | 2.0.0 | 2.0.0 |
equatable |
- | 2.0.7 | 2.0.7 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 7.0.1 | 7.0.1 |
file_picker |
- | 8.1.7 | 8.1.7 |
fl_chart |
- | 0.69.2 | 0.70.0 |
flutter_highlight |
- | 0.7.0 | 0.7.0 |
flutter_localizations |
- | 0.0.0 | 0.0.0 |
flutter_markdown |
- | 0.7.4+3 | 0.7.4+3 |
flutter_plugin_android_lifecycle |
- | 2.0.24 | 2.0.24 |
flutter_redux |
- | 0.10.0 | 0.10.0 |
flutter_svg |
- | 2.0.16 | 2.0.16 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
highlight |
- | 0.7.0 | 0.7.0 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.1.1 | 4.1.1 |
intl |
- | 0.19.0 | 0.20.1 |
js |
- | 0.6.7 | 0.7.1 |
json_annotation |
- | 4.9.0 | 4.9.0 |
lists |
- | 1.0.1 | 1.0.1 |
logger |
- | 2.5.0 | 2.5.0 |
logging |
- | 1.3.0 | 1.3.0 |
markdown |
- | 7.2.2 | 7.2.2 |
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.0 | 1.9.1 |
path_parsing |
- | 1.1.0 | 1.1.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 |
petitparser |
- | 6.0.2 | 6.0.2 |
platform |
- | 3.1.6 | 3.1.6 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
polylabel |
- | 1.0.1 | 1.0.1 |
proj4dart |
- | 2.1.0 | 2.1.0 |
redux |
- | 5.0.0 | 5.0.0 |
screen_retriever |
- | 0.2.0 | 0.2.0 |
screen_retriever_linux |
- | 0.2.0 | 0.2.0 |
screen_retriever_macos |
- | 0.2.0 | 0.2.0 |
screen_retriever_platform_interface |
- | 0.2.0 | 0.2.0 |
screen_retriever_windows |
- | 0.2.0 | 0.2.0 |
sensors_plus |
- | 4.0.2 | 6.1.1 |
sensors_plus_platform_interface |
- | 1.2.0 | 2.0.1 |
shared_preferences |
- | 2.3.4 | 2.3.4 |
shared_preferences_android |
- | 2.4.0 | 2.4.0 |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 |
shared_preferences_web |
- | 2.4.2 | 2.4.2 |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 |
sky_engine |
- | 0.0.0 | 0.0.0 |
source_span |
- | 1.10.1 | 1.10.1 |
stream_channel |
- | 2.1.3 | 2.1.3 |
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 | 0.3.1 |
url_launcher |
- | 6.3.1 | 6.3.1 |
url_launcher_android |
- | 6.3.14 | 6.3.14 |
url_launcher_ios |
- | 6.3.2 | 6.3.2 |
url_launcher_linux |
- | 3.2.1 | 3.2.1 |
url_launcher_macos |
- | 3.2.2 | 3.2.2 |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 |
url_launcher_web |
- | 2.3.3 | 2.3.3 |
url_launcher_windows |
- | 3.1.3 | 3.1.3 |
vector_graphics |
- | 1.1.15 | 1.1.15 |
vector_graphics_codec |
- | 1.1.12 | 1.1.12 |
vector_graphics_compiler |
- | 1.1.16 | 1.1.16 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
web_socket_channel |
- | 2.4.0 | 3.0.1 |
win32 |
- | 5.9.0 | 5.9.0 |
window_manager |
- | 0.4.3 | 0.4.3 |
window_to_front |
- | 0.0.3 | 0.0.3 |
wkt_parser |
- | 2.0.0 | 2.0.0 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
xml |
- | 6.5.0 | 6.5.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.