mapit 0.0.10 copy "mapit: ^0.0.10" to clipboard
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.

8
likes
130/ 160
pub points
59
downloads

We analyzed this package 30 hours ago, and awarded it 130 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.

partial
Provide documentation
10 / 20trigger folding of the section

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

failed
Platform support
20 / 20trigger folding of the section

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

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
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
Package Constraint Compatible Latest
_flutterfire_internals - 1.3.35 1.3.48
async - 2.11.0 2.12.0
boolean_selector - 2.1.1 2.1.2
characters - 1.3.0 1.4.0
clock - 1.1.1 1.1.2
cloud_firestore - 4.17.5 5.6.0
cloud_firestore_platform_interface - 6.2.5 6.6.0
cloud_firestore_web - 3.12.5 4.4.0
collection - 1.19.0 1.19.1
csslib - 1.0.2 1.0.2
fake_async - 1.3.1 1.3.2
firebase_core - 2.32.0 3.9.0
firebase_core_platform_interface - 5.4.0 5.4.0
firebase_core_web - 2.17.5 2.19.0
flutter_google_places_sdk_android - 0.1.9 0.1.9
flutter_google_places_sdk_http - 0.1.4 0.1.4
flutter_google_places_sdk_ios - 0.1.5 0.1.5
flutter_google_places_sdk_linux - 0.1.4 0.1.4
flutter_google_places_sdk_macos - 0.1.4 0.1.4
flutter_google_places_sdk_platform_interface - 0.2.7 0.3.0
flutter_google_places_sdk_web - 0.1.7 0.1.8
flutter_google_places_sdk_windows - 0.1.4 0.1.4
flutter_plugin_android_lifecycle - 2.0.24 2.0.24
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 2.4.4 2.4.4
google_maps - 7.1.0 8.1.1
google_maps_flutter_android - 2.14.11 2.14.11
google_maps_flutter_ios - 2.13.2 2.13.2
google_maps_flutter_platform_interface - 2.9.5 2.9.5
google_maps_flutter_web - 0.5.8 0.5.10
html - 0.15.5 0.15.5
http_parser - 4.1.1 4.1.1
intl - 0.20.0 0.20.1
js - 0.6.7 0.7.1
js_wrapping - 0.7.4 0.7.4
json_annotation - 4.9.0 4.9.0
latlong2 - 0.9.1 0.9.1
leak_tracker - 10.0.7 10.0.8
leak_tracker_flutter_testing - 3.0.8 3.0.9
leak_tracker_testing - 3.0.1 3.0.1
location_platform_interface - 3.1.2 5.0.0
location_web - 4.2.0 5.0.4
matcher - 0.12.16+1 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.0 1.9.1
permission_handler_android - 12.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
plugin_platform_interface - 2.1.8 2.1.8
rxdart - 0.27.7 0.28.0
sanitize_html - 2.1.0 2.1.0
sky_engine - 0.0.0 0.0.0
source_span - 1.10.0 1.10.1
stack_trace - 1.12.0 1.12.1
stream_channel - 2.1.2 2.1.3
stream_transform - 2.1.1 2.1.1
string_scanner - 1.3.0 1.4.1
term_glyph - 1.2.1 1.2.2
test_api - 0.7.3 0.7.4
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
vm_service - 14.3.0 15.0.0
web - 0.5.1 1.1.0

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.

8
likes
130
points
59
downloads

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_google_places_sdk, geoflutterfire2, google_maps_flutter, http, location, permission_handler

More

Packages that depend on mapit