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.

80/ 160
pub points
405
downloads

We analyzed this package 19 hours 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.cn/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

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

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

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

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.9.0
flutter_riverpod ^1.0.4 1.0.4 3.0.1
google_maps_flutter ^2.1.10 2.13.1 2.13.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
csslib - 1.0.2 1.0.2
flutter_plugin_android_lifecycle - 2.0.30 2.0.30
google_maps - 8.2.0 8.2.0
google_maps_flutter_android - 2.18.2 2.18.2
google_maps_flutter_ios - 2.15.5 2.15.5
google_maps_flutter_platform_interface - 2.14.0 2.14.0
google_maps_flutter_web - 0.5.14+2 0.5.14+2
html - 0.15.6 0.15.6
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
riverpod - 1.0.3 3.0.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.2.0 2.2.0
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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
95
likes
80
points
405
downloads

Publisher

verified publisherjostech.dev

Weekly Downloads

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

Packages that implement address_search_field