Giter Site home page Giter Site logo

Comments (8)

pyjavo avatar pyjavo commented on May 30, 2024 9

I am looking for something similar. It would be great if there is a feature that also allows you to make API requests.

from flutter-autocomplete-textfield.

AmazingBite avatar AmazingBite commented on May 30, 2024 3

I suggest you to check BLoC Pattern.
Here some helpful links. Those are explanations with examples made by Didier Boelens :

The basics with streams and BLoC pattern (Reactive Programming - Streams - BLoC)
A bit deeper and practical exemple (Reactive Programming - Streams - BLoC - Practical Use Cases)
A comparison between BLoC, ScopedModel and Redux (BLoC - ScopedModel - Redux - Comparison)

It helped me a lot and I hope you will find what you want too.

from flutter-autocomplete-textfield.

nabil-hfz avatar nabil-hfz commented on May 30, 2024 2

Hi @Wizzel1,

Anything new here ?

Yes, there are always new great things are created.

If you assign a key object to your AutoCompleteTextField / SimpleAutoCompleteTextField widget, you can call something like this on your key whenever you want to update Suggestions ===>

key.currentState.updateSuggestions(List items).

I hope this help.

from flutter-autocomplete-textfield.

Wizzel1 avatar Wizzel1 commented on May 30, 2024 1

Anything new here ?

from flutter-autocomplete-textfield.

Wizzel1 avatar Wizzel1 commented on May 30, 2024 1

@nabil-hfz thanks !

from flutter-autocomplete-textfield.

codetinker avatar codetinker commented on May 30, 2024

Same here. I would be great if we can update the suggestion list after received the response from api request

from flutter-autocomplete-textfield.

Karlheinzniebuhr avatar Karlheinzniebuhr commented on May 30, 2024

Hi @Wizzel1,

Anything new here ?

Yes, there are always new great things are created.

If you assign a key object to your AutoCompleteTextField / SimpleAutoCompleteTextField widget, you can call something like this on your key whenever you want to update Suggestions ===>

key.currentState.updateSuggestions(List items).

I hope this help.

After I updateSuggestions() the overlay pops up automatically without clicking the field. How can I prevent that from happening ?

from flutter-autocomplete-textfield.

nabil-hfz avatar nabil-hfz commented on May 30, 2024

@Karlheinzniebuhr

Can you please, provide the full code you use ??
Best reagrds.

from flutter-autocomplete-textfield.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.