esentis / multiple_search_selection

A highly customizable multiple selection widget with fuzzy search functionality.
https://pub.dev/packages/multiple_search_selection
BSD 3-Clause "New" or "Revised" License
12 stars 13 forks source link

Can we create a lazy loading (Async) while scrolling #40

Closed pmd23 closed 9 months ago

pmd23 commented 10 months ago

first thanks for such wonderfool component

Is your feature request related to a problem?

A clear and concise description of what the problem is. Can we do load async data while scrolling the page bcoz in my case i have more than 8k entries to load

Describe the feature you'd like

can we make a async call to database on type

Describe alternatives you've considered

esentis commented 10 months ago

Hey there! Thanks a bunch for using the library!

I totally get your idea about loading data while scrolling. It sounds cool, but here's the thing. The library does its search thing on a list of items that's already fetched. If we start adding new stuff while someone's scrolling, it could get a bit messy.

Imagine searching for "X," but if "X" isn't in the current list, you'd have to keep fetching new items, and it might not give you a clear and final result.

By the way, there's this neat library called flutter_typeahead that does searches using futures. Maybe that's more in line with what you're looking for?

I'm all for making improvements, though! If you've got any ideas or can help iron out those use cases I mentioned, I'd be happy to look into adding that feature in the future.

Thanks again for using the library, and let me know if you've got more thoughts or questions!