location_reader 0.0.7 copy "location_reader: ^0.0.7" to clipboard
location_reader: ^0.0.7 copied to clipboard

A Flutter package for retrieving and handling location-related data, including current location, reverse geocoding, Firebase integration, location permission management, and nearby location queries.

130/ 160
pub points
292
downloads

We analyzed this package 21 hours ago, and awarded it 130 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

48 out of 284 API elements (16.9 %) 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: address_service_impl, address_service_impl.AddressServiceImpl, address_service_impl.AddressServiceImpl.AddressServiceImpl.new, address_service_impl.AddressServiceImpl.getAddress, city_name_builder.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:location_reader/location_reader.dart that imports:
  • package:location_reader/views/widgets/location_picker.dart that imports:
  • package:location_reader/views/widgets/city_name_builder.dart that imports:
  • package:location_reader/view_model/city_name_cubit/city_name_cubit.dart that imports:
  • package:location_reader/view_model/location_picker_cubit/location_picker_cubit.dart that imports:
  • package:location_reader/domain/usecases/get_current_location.dart that imports:
  • package:i_tdd/i_tdd.dart that imports:
  • package:i_tdd/extensions/either_extentions.dart that imports:
  • package:app_toast/app_toast.dart that imports:
  • package:app_toast/src/app_toast.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:location_reader/location_reader.dart that imports:
  • package:location_reader/views/widgets/location_picker.dart that imports:
  • package:location_reader/views/widgets/city_name_builder.dart that imports:
  • package:location_reader/view_model/city_name_cubit/city_name_cubit.dart that imports:
  • package:location_reader/view_model/location_picker_cubit/location_picker_cubit.dart that imports:
  • package:location_reader/domain/usecases/get_current_location.dart that imports:
  • package:i_tdd/i_tdd.dart that imports:
  • package:i_tdd/extensions/either_extentions.dart that imports:
  • package:app_toast/app_toast.dart that imports:
  • package:app_toast/src/app_toast.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:location_reader/location_reader.dart that imports:
  • package:location_reader/views/widgets/location_picker.dart that imports:
  • package:location_reader/views/widgets/city_name_builder.dart that imports:
  • package:location_reader/view_model/city_name_cubit/city_name_cubit.dart that imports:
  • package:location_reader/view_model/location_picker_cubit/location_picker_cubit.dart that imports:
  • package:location_reader/domain/usecases/get_current_location.dart that imports:
  • package:i_tdd/i_tdd.dart that imports:
  • package:i_tdd/extensions/either_extentions.dart that imports:
  • package:app_toast/app_toast.dart that imports:
  • package:app_toast/src/app_toast.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:location_reader/location_reader.dart that imports:
  • package:location_reader/data/geofence_searvice.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_apple/geolocator_apple.dart that declares support for platforms: iOS, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:location_reader/location_reader.dart that imports:
  • package:location_reader/data/geofence_searvice.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_web/web_settings.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:location_reader/location_reader.dart that imports:
  • package:location_reader/data/geofence_searvice.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_web/web_settings.dart that declares support for platforms: Web.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:location_reader/location_reader.dart that imports:
  • package:location_reader/views/widgets/location_picker.dart that imports:
  • package:location_reader/views/widgets/city_name_builder.dart that imports:
  • package:location_reader/view_model/city_name_cubit/city_name_cubit.dart that imports:
  • package:location_reader/view_model/location_picker_cubit/location_picker_cubit.dart that imports:
  • package:location_reader/domain/usecases/get_current_location.dart that imports:
  • package:i_tdd/i_tdd.dart that imports:
  • package:i_tdd/extensions/either_extentions.dart that imports:
  • package:app_toast/app_toast.dart that imports:
  • package:app_toast/src/app_toast.dart that imports:
  • package:fluttertoast/fluttertoast.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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

INFO: 'desiredAccuracy' is deprecated and shouldn't be used. use settings parameter with AndroidSettings, AppleSettings, WebSettings, or LocationSettings.

lib/data/data_sources/location_service_geo_locator_provider_impl.dart:27:11

   ╷
27 │           desiredAccuracy: desiredAccuracy,
   │           ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/data/data_sources/location_service_geo_locator_provider_impl.dart

INFO: 'forceAndroidLocationManager' is deprecated and shouldn't be used. use settings parameter with AndroidSettings, AppleSettings, WebSettings, or LocationSettings.

lib/data/data_sources/location_service_geo_locator_provider_impl.dart:28:11

   ╷
28 │           forceAndroidLocationManager: forceAndroidLocationManager,
   │           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/data/data_sources/location_service_geo_locator_provider_impl.dart

Partially passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Partially passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
bloc ^9.0.0 9.0.1 9.0.1
cloud_firestore ^6.0.1 6.0.2 6.0.2
dartz ^0.10.1 0.10.1 0.10.1
equatable ^2.0.7 2.0.7 2.0.7
exception_type ^0.0.4 0.0.4 0.0.4
firestore_db_impl ^0.0.5 0.0.5 0.0.5
flutter_bloc ^9.1.1 9.1.1 9.1.1
fluttertoast ^8.2.12 8.2.14 9.0.0
geo_lat_lon ^0.0.5 0.0.5 0.0.5
geocoding ^4.0.0 4.0.0 4.0.0
geolocator ^14.0.2 14.0.2 14.0.2
get_it_di_global_variable ^0.0.6 0.0.6 0.0.6
i_tdd ^0.0.3 0.0.3 0.0.3
json_annotation ^4.9.0 4.9.0 4.9.0
navigation_without_context ^0.0.4 0.0.4 0.0.4
provider ^6.1.5+1 6.1.5+1 6.1.5+1
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.62 1.3.62
app_toast - 0.0.5 0.0.5
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
cloud_firestore_platform_interface - 7.0.2 7.0.2
cloud_firestore_web - 5.0.2 5.0.2
collection - 1.19.1 1.19.1
country_code_picker - 3.4.0 3.4.0
crypto - 3.0.6 3.0.6
dart_data_type_parser - 0.0.3 0.0.3
dbus - 0.7.11 0.7.11
diacritic - 0.1.6 0.1.6
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
firebase_auth - 6.1.0 6.1.0
firebase_auth_platform_interface - 8.1.2 8.1.2
firebase_auth_web - 6.0.3 6.0.3
firebase_core - 4.1.1 4.1.1
firebase_core_platform_interface - 6.0.1 6.0.1
firebase_core_web - 3.1.1 3.1.1
firebase_database - 12.0.2 12.0.2
firebase_database_platform_interface - 0.2.6+13 0.2.6+13
firebase_database_web - 0.2.6+19 0.2.6+19
fixnum - 1.1.1 1.1.1
flutter_localization - 0.3.3 0.3.3
geoclue - 0.1.1 0.1.1
geocoding_android - 4.0.1 4.0.1
geocoding_ios - 3.1.0 3.1.0
geocoding_platform_interface - 3.2.0 3.2.0
geolocator_android - 5.0.2 5.0.2
geolocator_apple - 2.3.13 2.3.13
geolocator_linux - 0.2.3 0.2.3
geolocator_platform_interface - 4.2.6 4.2.6
geolocator_web - 4.1.3 4.1.3
geolocator_windows - 0.2.5 0.2.5
get_it - 8.2.0 8.2.0
gsettings - 0.2.8 0.2.8
hive_ce - 2.14.0 2.14.0
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
hydrated_bloc - 10.1.1 10.1.1
intl - 0.20.2 0.20.2
isolate_channel - 0.2.2+1 0.2.2+1
language_translator - 0.0.7 0.0.7
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
nested - 1.0.0 1.0.0
package_info_plus - 8.3.1 9.0.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
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
shared_preferences - 2.5.3 2.5.3
shared_preferences_android - 2.4.13 2.4.13
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
test_api - 0.7.6 0.7.7
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
uuid - 4.5.1 4.5.1
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
web - 1.1.1 1.1.1
win32 - 5.14.0 5.14.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^8.2.12` on fluttertoast does not support the stable version `9.0.0`, that was published 11 days ago.

When fluttertoast is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions fluttertoast to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
130
points
292
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for retrieving and handling location-related data, including current location, reverse geocoding, Firebase integration, location permission management, and nearby location queries.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

bloc, cloud_firestore, dartz, equatable, exception_type, firestore_db_impl, flutter, flutter_bloc, fluttertoast, geo_lat_lon, geocoding, geolocator, get_it_di_global_variable, i_tdd, json_annotation, navigation_without_context, provider

More

Packages that depend on location_reader