Skip to content

[bug]: Flutter Web Build: Error: No named parameter with the name 'maxFacetHits'. #18

@phillipshaong

Description

@phillipshaong

Description

Unable to compile for Flutter Web.

Client

Search

Version

1.27.3

Relevant log output

(base) phillipng@pn ui % flutter build web --dart-define=APP_VERSION=$APP_VERSION --dart-define-from-file=.prod.env --release  

Target dart2js failed: ProcessException: Process exited abnormally with exit code 1:
/Users/phillipng/.pub-cache/hosted/pub.dev/algolia_helper_flutter-1.1.0/lib/src/service/algolia_client_extensions.dart:41:7:
Error: No named parameter with the name 'maxFacetHits'.
      maxFacetHits: maxFacetHits,
      ^^^^^^^^^^^^
/Users/phillipng/.pub-cache/hosted/pub.dev/algolia_client_search-1.27.3/lib/src/model/search_for_hits.dart:21:9:
Info: Found this candidate, but the arguments don't match.
  const SearchForHits({
        ^^^^^^^^^^^^^
Error: Compilation failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions