Skip to main content

smart_location_field 0.3.0 copy "smart_location_field: ^0.3.0" to clipboard
smart_location_field: ^0.3.0 copied to clipboard

A TextFormField that can double as a Google Places search box, restrictable to country-only, state-only, or city-only results (or normal location search), with a pluggable API layer so you can route c [...]

140/ 160
pub points
437
downloads

We analyzed this package 3 days ago, and awarded it 140 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.

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

20 out of 89 API elements (22.5 %) have documentation comments.

Some symbols that are missing documentation: assets.AssetGenImage, assets.AssetGenImage.AssetGenImage.new, assets.AssetGenImage.custom, assets.AssetGenImage.flavors, assets.AssetGenImage.image.

Passed check 10/10 points: Package has an example and has no issues with screenshots

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:smart_location_field/smart_location_field.dart that imports:
  • package:smart_location_field/src/smart_location_field_widget.dart that imports:
  • package:smart_api/smart_api.dart that imports:
  • package:smart_api/smart_api_client.dart that imports:
  • package:dio/io.dart that imports:
  • package:dio/src/dio/dio_for_native.dart that imports:
  • package:dio/src/adapters/io_adapter.dart that imports:
  • dart:io

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:smart_location_field/smart_location_field.dart that imports:
  • package:smart_location_field/src/smart_location_field_widget.dart that imports:
  • package:smart_api/smart_api.dart that imports:
  • package:smart_api/smart_api_socket.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:smart_location_field/smart_location_field.dart that imports:
  • package:smart_location_field/src/smart_location_field_widget.dart that imports:
  • package:smart_api/smart_api.dart that imports:
  • package:smart_api/smart_api_socket.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:smart_location_field/smart_location_field.dart that imports:
  • package:smart_location_field/src/smart_location_field_widget.dart that imports:
  • package:smart_api/smart_api.dart that imports:
  • package:smart_api/smart_api_socket.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:smart_location_field/smart_location_field.dart that imports:
  • package:smart_location_field/src/smart_location_field_widget.dart that imports:
  • package:smart_api/smart_api.dart that imports:
  • package:smart_api/smart_api_socket.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
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

INFO: Library names are not necessary.

lib/smart_location_field.dart:5:9

  ╷
5 │ library smart_location_field;
  │         ^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest Notes
smart_api ^1.1.1 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
connectivity_plus - 7.3.2 7.3.2
connectivity_plus_platform_interface - 2.1.0 2.1.0
dbus - 0.8.0 0.8.0
dio - 5.11.1 5.11.1
dio_web_adapter - 2.2.2 2.2.2
ffi - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
mime - 2.1.0 2.1.0
nm - 0.6.0 0.6.0
path - 1.9.1 1.9.1
petitparser - 7.1.0 7.1.0
plugin_platform_interface - 2.1.8 2.1.8
socket_io_client - 3.1.6 3.1.6
socket_io_common - 3.1.1 3.1.1
source_span - 1.10.2 1.10.2
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.4.3 2.4.3
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
xml - 7.1.0 7.1.0

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

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.23.19, Flutter 3.47.7, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
8
likes
140
points
437
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A TextFormField that can double as a Google Places search box, restrictable to country-only, state-only, or city-only results (or normal location search), with a pluggable API layer so you can route calls through your own network service.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, smart_api

More

Packages that depend on smart_location_field