algolia_helper_flutter 0.5.0 copy "algolia_helper_flutter: ^0.5.0" to clipboard
algolia_helper_flutter: ^0.5.0 copied to clipboard

Patterns and APIs to implement advanced search features with Algolia for Flutter

42
likes
120/ 160
pub points
11.1k
downloads

We analyzed this package 33 hours ago, and awarded it 120 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

479 out of 495 API elements (96.8 %) have documentation comments.

Some symbols that are missing documentation: algolia_helper_flutter.AlgoliaException.AlgoliaException.new, algolia_helper_flutter.Disposable.Disposable.new, algolia_helper_flutter.FacetFilterGroup.retype, algolia_helper_flutter.FilterGroup.FilterGroup.new, algolia_helper_flutter.FilterGroupID.FilterGroupID.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 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:algolia_helper_flutter/algolia_helper_flutter.dart that imports:
  • package:algolia_helper_flutter/src/searcher/multi_searcher.dart that imports:
  • package:algolia_helper_flutter/src/searcher/hits_searcher.dart that imports:
  • package:algolia_helper_flutter/src/filter_state.dart that imports:
  • package:algolia_helper_flutter/src/disposable_mixin.dart that imports:
  • package:algolia_helper_flutter/src/disposable.dart that imports:
  • package:algolia_helper_flutter/src/facet_list.dart that imports:
  • package:algolia_insights/algolia_insights.dart that imports:
  • package:algolia_insights/src/insights.dart that imports:
  • package:algolia_insights/src/user_token_storage.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:algolia_helper_flutter/algolia_helper_flutter.dart that imports:
  • package:algolia_helper_flutter/src/searcher/multi_searcher.dart that imports:
  • package:algolia_helper_flutter/src/searcher/hits_searcher.dart that imports:
  • package:algolia_helper_flutter/src/filter_state.dart that imports:
  • package:algolia_helper_flutter/src/disposable_mixin.dart that imports:
  • package:algolia_helper_flutter/src/disposable.dart that imports:
  • package:algolia_helper_flutter/src/facet_list.dart that imports:
  • package:algolia_insights/algolia_insights.dart that imports:
  • package:algolia_insights/src/insights.dart that imports:
  • package:algolia_insights/src/user_token_storage.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.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.

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 18 issues. Showing the first 2:

INFO: Use 'TypeName _' instead of a type literal.

lib/src/filter_group_converter.dart:50:12

   ╷
50 │       case FilterFacet:
   │            ^^^^^^^^^^^
   ╵

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

INFO: Use 'TypeName _' instead of a type literal.

lib/src/filter_group_converter.dart:52:12

   ╷
52 │       case FilterTag:
   │            ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/filter_group_converter.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
algolia_insights >=0.2.2 <1.0.0 0.2.2 1.0.2
algoliasearch >=0.3.0 <1.0.0 0.3.0 1.31.3
collection >=1.17.0 <2.0.0 1.19.1 1.19.1
logging >=1.0.0 <2.0.0 1.3.0 1.3.0
meta >=1.7.0 <2.0.0 1.16.0 1.16.0
rxdart >=0.26.0 <1.0.0 0.28.0 0.28.0
Transitive dependencies
Package Constraint Compatible Latest Notes
algolia_client_core - 0.3.0 1.31.3
algolia_client_insights - 0.3.0 1.31.3
algolia_client_search - 0.3.0 1.31.3
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
crypto - 3.0.6 3.0.6
dio - 5.8.0+1 5.8.0+1
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
hive - 2.2.3 2.2.3
http_parser - 4.1.2 4.1.2
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.1
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.5
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

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

The constraint `>=0.2.2 <1.0.0` on algolia_insights does not support the stable version `1.0.0`.

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

The constraint `>=0.3.0 <1.0.0` on algoliasearch does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions algoliasearch 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 3 errors:

  • UNDEFINED_METHOD - lib/src/facet_list.dart:362:20 - The method 'cancel' isn't defined for the type 'CompositeSubscription'.
  • UNDEFINED_METHOD - lib/src/searcher/facet_searcher.dart:282:20 - The method 'cancel' isn't defined for the type 'CompositeSubscription'.
  • UNDEFINED_METHOD - lib/src/searcher/hits_searcher.dart:321:20 - The method 'cancel' isn't defined for the type 'CompositeSubscription'.

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:
42
likes
120
points
11.1k
downloads

Publisher

verified publisheralgolia.com

Weekly Downloads

Patterns and APIs to implement advanced search features with Algolia for Flutter

Homepage
Repository (GitHub)
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

algolia_insights, algoliasearch, collection, flutter, logging, meta, rxdart

More

Packages that depend on algolia_helper_flutter