universe 2.0.1
universe: ^2.0.1 copied to clipboard
The easy & flexible way to use interactive maps in Flutter. Inspired by Leaflet.js.
We analyzed this package 6 days ago, and awarded it 140 pub points (of a possible 160):
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-2-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
526 out of 1342 API elements (39.2 %) have documentation comments.
Some symbols that are missing documentation: universe, universe.AnimatedIndicator, universe.AnimatedIndicator.AnimatedIndicator.new, universe.AnimatedIndicator.animate, universe.AnimatedIndicator.color.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:universe/universe.dartthat imports:package:universe/src/u.dartthat imports:package:universe/src/tiles/wikimedia.dartthat imports:package:universe/src/layer/layer.dartthat imports:package:universe/src/layer/tile/tile.dartthat imports:package:universe/src/layer/tile/provider/provider.dartthat imports:package:universe/src/layer/tile/provider/network_cached.dartthat imports:package:cached_network_image/cached_network_image.dartthat imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:universe/universe.dartthat imports:package:universe/src/u.dartthat imports:package:universe/src/tiles/wikimedia.dartthat imports:package:universe/src/layer/layer.dartthat imports:package:universe/src/layer/tile/tile.dartthat imports:package:universe/src/layer/tile/provider/provider.dartthat imports:package:universe/src/layer/tile/provider/network_cached.dartthat imports:package:cached_network_image/cached_network_image.dartthat imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:universe/universe.dartthat imports:package:universe/src/u.dartthat imports:package:universe/src/tiles/wikimedia.dartthat imports:package:universe/src/layer/layer.dartthat imports:package:universe/src/layer/tile/tile.dartthat imports:package:universe/src/layer/tile/provider/provider.dartthat imports:package:universe/src/layer/tile/provider/network_cached.dartthat imports:package:cached_network_image/cached_network_image.dartthat imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/file_system/file_system.dartthat imports:package:flutter_cache_manager/src/storage/file_system/file_system_io.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:universe/universe.dartthat imports:package:universe/src/u.dartthat imports:package:universe/src/tiles/wikimedia.dartthat imports:package:universe/src/layer/layer.dartthat imports:package:universe/src/layer/tile/tile.dartthat imports:package:universe/src/layer/tile/provider/provider.dartthat imports:package:universe/src/layer/tile/provider/network_retry.dartthat imports:package:flutter_image/flutter_image.dartthat imports:package:flutter_image/network.dartthat 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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 80 issues. Showing the first 2:
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/control/attribution.dart:20:33
╷
20 │ color: Colors.white.withOpacity(0.7),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/control/attribution.dart
INFO: Missing type annotation.
lib/src/core/geometry/bounds.dart:26:17
╷
26 │ Bounds extend(_point) {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/geometry/bounds.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cached_network_image |
^3.3.1 |
3.4.1 | 3.4.1 | |
curved_animation_controller |
^1.1.0+1 |
1.1.0+1 | 1.1.0+1 | |
extended_image |
^8.2.0 |
8.3.1 | 10.0.1 | |
flutter_image |
^4.1.11 |
4.1.13 | 4.1.13 | Discontinued |
flutter_svg |
^2.0.10+1 |
2.2.1 | 2.2.1 | |
geocode |
^1.0.3 |
1.0.3 | 1.0.3 | |
html_unescape |
^2.0.0 |
2.0.0 | 2.0.0 | |
intl |
^0.19.0 |
0.19.0 | 0.20.2 | |
location |
^6.0.2 |
6.0.2 | 8.0.1 | |
logging |
^1.2.0 |
1.3.0 | 1.3.0 | |
proj4dart |
^2.1.0 |
2.1.0 | 2.1.0 | |
provider |
^6.1.2 |
6.1.5+1 | 6.1.5+1 | |
tuple |
^2.0.2 |
2.0.2 | 2.0.2 | |
vector_math |
^2.1.4 |
2.2.0 | 2.2.0 | |
video_player |
^2.8.6 |
2.10.0 | 2.10.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
cached_network_image_platform_interface |
- | 4.1.1 | 4.1.1 | |
cached_network_image_web |
- | 1.3.1 | 1.3.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
csslib |
- | 1.0.2 | 1.0.2 | |
extended_image_library |
- | 4.0.6 | 5.0.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_cache_manager |
- | 3.4.1 | 3.4.1 | |
html |
- | 0.15.6 | 0.15.6 | |
http |
- | 1.5.0 | 1.5.0 | |
http_client_helper |
- | 3.0.0 | 3.0.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
lists |
- | 1.0.1 | 1.0.1 | Discontinued |
location_platform_interface |
- | 4.0.0 | 6.0.1 | |
location_web |
- | 5.0.1 | 6.0.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mgrs_dart |
- | 2.0.0 | 2.0.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
octo_image |
- | 2.1.0 | 2.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.3 | 2.4.3 | |
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 |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
sqflite |
- | 2.4.2 | 2.4.2 | |
sqflite_android |
- | 2.4.2+2 | 2.4.2+2 | |
sqflite_common |
- | 2.5.6 | 2.5.6 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
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.1 | 4.5.1 | |
vector_graphics |
- | 1.1.19 | 1.1.19 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.1.19 | 1.1.19 | |
video_player_android |
- | 2.8.17 | 2.8.17 | |
video_player_avfoundation |
- | 2.8.5 | 2.8.5 | |
video_player_platform_interface |
- | 6.5.0 | 6.5.0 | |
video_player_web |
- | 2.4.0 | 2.4.0 | |
web |
- | 1.1.1 | 1.1.1 | |
wkt_parser |
- | 2.0.0 | 2.0.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 issues. Showing the first 2:
The constraint `^8.2.0` on extended_image does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions extended_image to update the constraint.
The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.
Try running dart pub upgrade --major-versions intl 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.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.