mapit 0.0.9 copy "mapit: ^0.0.9" to clipboard
mapit: ^0.0.9 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 2 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 8 API elements (12.5 %) 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.mapApiKey.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

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.
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.

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.

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:sizer/sizer.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_vm.dart that imports:
  • package:universal_io/src/new_universal_http_client.dart that imports:
  • package:universal_io/src/_helpers.dart that imports:
  • package:universal_io/src/_helpers_impl_elsewhere.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 18 issues. Showing the first 2:

INFO: 'setMapStyle' is deprecated and shouldn't be used. Use GoogleMap.style instead.

lib/src/mapit.dart:153:39

    ╷
153 │                       mapsController?.setMapStyle(Utils.mapStyles);
    │                                       ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/mapit.dart

INFO: 'MaterialStateColor' is deprecated and shouldn't be used. Use WidgetStateColor instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

lib/src/utils/permission_popup.dart:79:33

   ╷
79 │                   overlayColor: MaterialStateColor.resolveWith((states) => R.colors.themeColor.withOpacity(0.05)),
   │                                 ^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/permission_popup.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
get ^4.6.6 4.6.6 4.6.6
google_maps_flutter ^2.5.0 2.7.1 2.9.0
http ^1.1.0 1.2.2 1.2.2
location ^5.0.3 5.0.3 7.0.0
permission_handler ^11.0.0 11.3.1 11.3.1
sizer ^2.0.15 2.0.15 3.0.4
Transitive dependencies
Package Constraint Compatible Latest
_flutterfire_internals - 1.3.35 1.3.44
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.4.3
cloud_firestore_platform_interface - 6.2.5 6.4.3
cloud_firestore_web - 3.12.5 4.3.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.6.0
firebase_core_platform_interface - 5.3.0 5.3.0
firebase_core_web - 2.17.5 2.18.1
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.7
flutter_google_places_sdk_windows - 0.1.4 0.1.4
flutter_plugin_android_lifecycle - 2.0.22 2.0.22
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.0.0
google_maps_flutter_android - 2.14.7 2.14.7
google_maps_flutter_ios - 2.13.0 2.13.0
google_maps_flutter_platform_interface - 2.9.2 2.9.2
google_maps_flutter_web - 0.5.8 0.5.10
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.5 10.0.7
leak_tracker_flutter_testing - 3.0.5 3.0.8
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.3
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.0 1.9.0
permission_handler_android - 12.0.12 12.0.12
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+2 0.1.3+2
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.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.12.0
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.2.0 1.3.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.2 0.7.3
typed_data - 1.3.2 1.3.2
universal_io - 2.2.2 2.2.2
vector_math - 2.1.4 2.1.4
vm_service - 14.2.5 14.3.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.

The constraint `^2.0.15` on sizer does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions sizer 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.12, Flutter 3.24.3, Dart 3.5.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, get, google_maps_flutter, http, location, permission_handler, sizer

More

Packages that depend on mapit