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.

7
likes
130/ 160
pub points
0%
popularity

We analyzed this package 16 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

OK
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.
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 19 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: 'fromBytes' is deprecated and shouldn't be used. Use BitmapDescriptor.bytes method instead.

lib/src/services/geo_hash_service.dart:43:41

   ╷
43 │         customMarker = BitmapDescriptor.fromBytes(onValue, size: const Size(100, 100));
   │                                         ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/services/geo_hash_service.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.9
geoflutterfire2 ^2.3.15 2.3.15 2.3.15
google_maps_flutter ^2.5.0 2.7.0 2.7.0
http ^1.1.0 1.2.1 1.2.1
location ^5.0.3 5.0.3 6.0.2
permission_handler ^11.0.0 11.3.1 11.3.1
Transitive dependencies
Package Constraint Compatible Latest
_flutterfire_internals - 1.3.35 1.3.38
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
cloud_firestore - 4.17.5 5.0.2
cloud_firestore_platform_interface - 6.2.5 6.2.8
cloud_firestore_web - 3.12.5 4.0.2
collection - 1.18.0 1.19.0
csslib - 1.0.0 1.0.0
fake_async - 1.3.1 1.3.1
firebase_core - 2.32.0 3.1.1
firebase_core_platform_interface - 5.1.0 5.1.0
firebase_core_web - 2.17.2 2.17.2
flutter_google_places_sdk_android - 0.1.8 0.1.8
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.2.7
flutter_google_places_sdk_web - 0.1.7 0.1.7
flutter_google_places_sdk_windows - 0.1.4 0.1.4
flutter_plugin_android_lifecycle - 2.0.20 2.0.20
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 2.4.1 2.4.1
google_maps - 7.1.0 7.1.0
google_maps_flutter_android - 2.10.0 2.10.0
google_maps_flutter_ios - 2.8.0 2.8.0
google_maps_flutter_platform_interface - 2.8.0 2.8.0
google_maps_flutter_web - 0.5.8 0.5.8
html - 0.15.4 0.15.4
http_parser - 4.0.2 4.1.0
intl - 0.19.0 0.19.0
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.4 10.0.5
leak_tracker_flutter_testing - 3.0.3 3.0.5
leak_tracker_testing - 3.0.1 3.0.1
location_platform_interface - 3.1.2 4.0.0
location_web - 4.2.0 5.0.1
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.0
permission_handler_android - 12.0.7 12.0.7
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.1 0.1.1
permission_handler_platform_interface - 4.2.1 4.2.1
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.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.0 0.7.2
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
vm_service - 14.2.1 14.2.4
web - 0.5.1 0.5.1

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.7, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.

7
likes
130
pub points
0%
popularity

Publisher

unverified uploader

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