address_search_field 5.0.3 copy "address_search_field: ^5.0.3" to clipboard
address_search_field: ^5.0.3 copied to clipboard

An address search field which helps to autocomplete an address by a reference. It can be used to get Directions beetwen two points.

95
likes
80/ 160
pub points
437
downloads

We analyzed this package 4 days ago, and awarded it 80 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

156 out of 157 API elements (99.4 %) have documentation comments.

Some symbols that are missing documentation: address_search_field_web.AddressSearchFieldWeb.AddressSearchFieldWeb.new.

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 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Web

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:address_search_field/address_search_field.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:address_search_field/address_search_field.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:address_search_field/address_search_field.dart that imports:
  • package:address_search_field/src/widgets/address_search_dialog.dart that imports:
  • package:address_search_field/src/services/geo_methods.dart that imports:
  • package:address_search_field/src/models/coords.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 `Windows`.

Because:

  • package:address_search_field/address_search_field.dart that imports:
  • package:address_search_field/src/widgets/address_search_dialog.dart that imports:
  • package:address_search_field/src/services/geo_methods.dart that imports:
  • package:address_search_field/src/models/coords.dart that imports:
  • package:google_maps_flutter/google_maps_flutter.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:address_search_field/address_search_field.dart that imports:
  • package:address_search_field/src/widgets/address_search_dialog.dart that imports:
  • package:address_search_field/src/services/geo_methods.dart that imports:
  • package:address_search_field/src/models/coords.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.

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 9 issues. Showing the first 2:

ERROR: The method 'hashValues' isn't defined for the type 'Address'.

lib/src/models/address.dart:85:23

85int get hashCode => hashValues(coords, bounds, reference, placeId);
   │                       ^^^^^^^^^^
   ╵
copied to clipboard

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

ERROR: The method 'hashValues' isn't defined for the type 'Bounds'.

lib/src/models/bounds.dart:28:23

28int get hashCode => hashValues(southwest, northeast);
   │                       ^^^^^^^^^^
   ╵
copied to clipboard

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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
dio ^4.0.6 4.0.6 5.8.0+1
flutter_riverpod ^1.0.4 1.0.4 2.6.1
google_maps_flutter ^2.1.10 2.12.1 2.12.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
csslib - 1.0.2 1.0.2
flutter_plugin_android_lifecycle - 2.0.27 2.0.27
google_maps - 8.1.1 8.1.1
google_maps_flutter_android - 2.16.0 2.16.0
google_maps_flutter_ios - 2.15.1 2.15.1
google_maps_flutter_platform_interface - 2.11.1 2.11.1
google_maps_flutter_web - 0.5.12 0.5.12
html - 0.15.5+1 0.15.5+1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
riverpod - 1.0.3 2.6.1
sanitize_html - 2.1.0 2.1.0
source_span - 1.10.1 1.10.1
state_notifier - 0.7.2+1 1.0.0
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.1 1.1.1

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

The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.

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

The constraint `^1.0.4` on flutter_riverpod does not support the stable version `2.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 4 errors:

  • UNDEFINED_METHOD - lib/src/models/address.dart:85:23 - The method 'hashValues' isn't defined for the type 'Address'.
  • UNDEFINED_METHOD - lib/src/models/bounds.dart:28:23 - The method 'hashValues' isn't defined for the type 'Bounds'.
  • UNDEFINED_METHOD - lib/src/models/coords.dart:22:23 - The method 'hashValues' isn't defined for the type 'Coords'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 11Aug 8Sep 5Oct 3Oct 31Nov 28Dec 26Jan 23Feb 20Mar 20050100150200250300350>=1.0.0-0 <2.0.0>=2.0.0-0 <3.0.0>=3.0.0-0 <4.0.0>=4.0.0-0 <5.0.0>=5.0.0-0 <6.0.0
95
likes
80
points
437
downloads

Publisher

verified publisherjostech.dev

Weekly Downloads

2024.09.26 - 2025.04.10

An address search field which helps to autocomplete an address by a reference. It can be used to get Directions beetwen two points.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, flutter_riverpod, flutter_web_plugins, google_maps_flutter

More

Packages that depend on address_search_field