danahartweg / flutter_bloc_list_manager

Extension to flutter_bloc that handles the underlying logic to filter and search list view data dynamically.
https://medium.com/flutter-community/building-a-package-to-manage-lists-with-flutter-bloc-7197e2dd7811
MIT License
15 stars 1 forks source link

Filtering case sensitivity #15

Open danahartweg opened 4 years ago

danahartweg commented 4 years ago

At the moment filtering (as well as filter condition generation) is case sensitive, which doesn't allow for any variance in the underlying data. It also means that availableFilterConditions would have multiple entries... one for each case.

This isn't really good or bad, there's just no stance on it yet. My initial thought is to make filtering case insensitive, but that leaves a quandary on how to handle the activeFilterCondition generation... it would be difficult to decide the intent of the underlying data and modifying it for display doesn't seem to be a good choice.