mapit 0.0.10 mapit: ^0.0.10 copied to clipboard
MapIt allow you to use map in your app,It will help user to search any place on map and can place marker on map and also can move the user to current location on map.
We analyzed this package 30 hours ago, and awarded it 130 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-3-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 15 API elements (6.7 %) 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: mapit
, mapit.GoogleMapScreen
, mapit.GoogleMapScreen.GoogleMapScreen
, mapit.GoogleMapScreen.address
, mapit.GoogleMapScreen.buttonTextColor
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:mapit/mapit.dart
that imports:package:mapit/src/mapit.dart
that imports:package:mapit/src/services/geo_hash_service.dart
that imports:package:location/location.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:mapit/mapit.dart
that imports:package:mapit/src/mapit.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
Package does not support platform `macOS`.
Because:
package:mapit/mapit.dart
that imports:package:mapit/src/mapit.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `iOS`.
Because:
package:mapit/mapit.dart
that imports:package:mapit/src/mapit.dart
that imports:package:mapit/src/services/geo_hash_service.dart
that imports:package:google_maps_flutter/google_maps_flutter.dart
that imports:package:google_maps_flutter_android/google_maps_flutter_android.dart
that declares support for platforms:Android
.
Package does not support platform `Web`.
Because:
package:mapit/mapit.dart
that imports:package:mapit/src/mapit.dart
that imports:package:mapit/src/services/geo_hash_service.dart
that imports:package:google_maps_flutter/google_maps_flutter.dart
that imports:package:google_maps_flutter_android/google_maps_flutter_android.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:mapit/mapit.dart
that imports:package:mapit/src/mapit.dart
that imports:package:mapit/src/services/geo_hash_service.dart
that imports:package:location/location.dart
that imports:package:location_platform_interface/location_platform_interface.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 24 issues. Showing the first 2:
INFO: 'setMapStyle' is deprecated and shouldn't be used. Use GoogleMap.style instead.
lib/src/mapit.dart:113:39
╷
113 │ mapsController?.setMapStyle(Utils.mapStyles);
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/mapit.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/resources/decoration.dart:42:57
╷
42 │ borderSide: BorderSide(color: R.colors.hintGrey.withOpacity(.40)),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/resources/decoration.dart
0/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_google_places_sdk |
^0.3.6 |
0.3.9 | 0.3.10 |
geoflutterfire2 |
^2.3.15 |
2.3.15 | 2.3.15 |
google_maps_flutter |
^2.5.0 |
2.7.1 | 2.10.0 |
http |
^1.1.0 |
1.2.2 | 1.2.2 |
location |
^5.0.3 |
5.0.3 | 7.0.1 |
permission_handler |
^11.0.0 |
11.3.1 | 11.3.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^5.0.3` on location does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions location
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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.