Skip to content

[bug]: No named parameter with the name 'maxFacetHits #19

@Karthikn-n

Description

@Karthikn-n

Description

Error: No named parameter with the name 'maxFacetHits'.
Context: Found this candidate, but the arguments don't match.

This comes once I upgraded the Flutter version to 3.27. But I fixed locally by adding the maxFacetHits to the search_for_hits.dart and search_for_hits.g.dart file.

Client

All

Version

1.27.3

Relevant log output

AppData/Local/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,
^^^^^^^^^^^^
/AppData/Local/Pub/Cache/hosted/pub.dev/algolia_client_search-1.27.3/lib/src/model/search_for_hits.dart:21:9: Context: Found this candidate, but the arguments don't match.
const SearchForHits({
^^^^^^^^^^^^^

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