searchable_listview 2.20.1
searchable_listview: ^2.20.1 copied to clipboard
A new easy way to filter listview with simple implementation with possibilty to customize search field and empty widget
2.20.1 17/11/2026 #
- Bug Fix
- Remove unused fuzzy search strategy for later algorithm implementation
2.20.0 16/11/2026 #
-
Feature
- Add
SearchableListControllerto control the list from outside the widget: pass it with the newcontrollerattribute and callfilter(query)Issue#188 PR#191 - Add
clear()to the controller to remove the current filter without triggering extra rebuilds when the query is already empty PR#192 - The controller is now a
ValueNotifier: listen to the currentquery, the filteredresultsand the liststatus(idle,loading,data,empty,error) PR#193 - Add scroll actions
scrollToTop()andscrollTo(offset)(with optional animation) and thescrollPositiongetter to the controller PR#194 - Add built-in search with the
searchableFieldsattribute: choose the model fields to search in and the widget filters for you Issue#187 PR#196 filtercallback is now optional, it's no longer required when usingsearchableFieldsPR#197- Add
searchStrategyattribute withSearchStrategy.startsWith(default),SearchStrategy.endsWithandSearchStrategy.containPR#198 - Add
updateSearchStrategy()to the controller to change the search strategy at runtime, the list is filtered again immediately PR#199
- Add
-
Bug Fix
-
Changes
- Minimum supported versions are now Dart
3.10.0and Flutter3.38.0, projects on older SDKs keep resolving2.19.5PR#190 - Package now relies on the standalone
material_uipackage PR#184 - Update the example app to the new Flutter version and add examples for the controller and the built-in search PR#185
- Add widget tests for the searchable list controller PR#203
- Minimum supported versions are now Dart
2.19.5 30/05/2026 #
2.19.4 02/12/2025 #
2.19.1 14/07/2025 #
- Bug Fix
- Fix separator builder rendering issue ISSUE#149
- Update typo error in
separotorBuilderattribute name
2.19.0 03/06/2025 #
2.18.0 31/05/2025 #
2.17.2 29/04/2025 #
2.17.1 27/04/2025 #
- Bug Fix
2.17.0- 12/04/2025 #
- Enhancement
- Update simple searchable listview rendering method for optimized performance.
- Update expansion listview rendering method for optimized performance.
- Update sliver searchable listview rendering method for optimized performance.
- Remove
spaceBetweenSearchAndListattribute and replace it withsearchFieldPaddingattribute for better padding control.
2.16.0- 02/12/2024 #
-
Enhancement
- Add rendering with simple
ListviewwithlazyLoadingEnabledattribute that indicates whether searchable listview will useListview.builderor simpleListview - new attribute
searchFieldPaddingof typeEdgeInsetsreplacespaceBetweenSearchAndListwith more Padding options.
- Add rendering with simple
-
Changes
- Empty widget attribute is now nullable, when it's nullable a
Sizedbox.shrink()will be rendered when the list is empty - Renaming
styleattribute totextStyle
- Empty widget attribute is now nullable, when it's nullable a
2.15.2- 01/09/2024 #
- Bug Fix
- Handle expansion controller error when controller state is null (expansion item not shown in the screen) PR
2.15.1- 21/08/2024 #
- Enhancements
- Unregister from text controller listener when disposing the searchable listview widget PR
2.15.0- 06/08/2024 #
2.14.1 12/07/2024 #
- Enhancements
- Set
onItemSelectedas deprecated and will be removed in the next release PR
- Set
2.13.0 17/05/2024 #
- Enhancements
- Remove
buildercallback attribute and replace it withitemBuilder - Add
displaySearchIconattribute - Add
clearIconSizeattribute - Add
searchFieldHeightandsearchFieldWidthconstraints as attributes - Improve widget tree rendering for textfield widget when
displayClearIconanddisplaySearchIconare enabled.
- Remove
2.12.0 30/04/2024 #
- Enhancements
- Mark
buildercallback as deprecated and introduceditemBuilderattribute
- Mark
2.11.2 13/04/2024 #
2.11.1 20/03/2024 #
- Fix Bug
- Update rendering clear icon when
displayClearIcon == falseandinputDecoration != nullIssue#90
- Update rendering clear icon when
2.11.0 16/03/2024 #
- Enhancements
- Expose the item model in
expansionListBuilderwhen rendering searchable expansion list - Expose the expansion group index in
expansionListBuildercallback - Display the
emptyWidgetwhen all the expansion lists are empty (in previous version empty expansions were shown) - Add
hideEmptyExpansionItemsto indicate whether the expansion will be shown or not when the expansion group is empty - Add
expansionTileEnabledto indicate the expansion tileenablevalue
- Expose the item model in
2.10.2 24/02/2024 #
- Fix Bug
- Keep keyboard state when search value is changing (keyboard closing issue fix) Related PR
2.10.1 24/01/2024 #
- Fix Bug
- Fix field clear button when
autoCompleteHintsis used
- Fix field clear button when
2.10.0 07/01/2024 #
- Enhancements
closeKeyboardWhenScrollingadded to close automatically keyboard when scrolling issue-85scrollControlleradded to main widget to control scroll on listview or add listener on scolling
2.9.0 18/11/2023 #
- Enhancement
- Add sort list items feature (
displaySortWidget,sortWidgetandsortPredicate) PR#78
- Add sort list items feature (
2.8.0 29/10/2023 #
2.7.1 27/09/2023 #
- Update package license to MIT license
2.7.0 06/09/2023 #
- Update simple searchable list state management
- Create seperate async consrtuctor for rendering async listview
- Update
buildercallback by addinglistanditemparameters providing the rendered list and the current rendered item SearchableList.seperatedis now deprecated and it will be no longer available in the future versions
2.6.1 27/08/2023 #
- Update listview builder callback definition (Exposing two parameters : actual index and initial index) (Issue : #66)
2.5.0 12/08/2023 #
2.4.0 16/04/2023 #
- Add support to expansion lists
- Filter expansion lists
2.3.2 30/03/2023 #
- Add secondary widget display alongside search field
2.2.1 27/11/2022 #
- Add autocomplete options attribute
2.1.1 19/09/2022 #
- Add textfield parameters
- Add padding between textfield and list attribute
2.0.1 27/08/2022 #
- Fix text style parameter integration
2.0.0 01/08/2022 #
- Support async callback on rendering list
- Display loading when async call is loading
- Display Error widget when async callback return error
- Filter async callback result list
1.7.2 14/07/2022 #
- Enhance widget rendering
1.7.1 10/07/2022 #
- Update project documentation
1.7.0 10/07/2022 #
- Customizable text field position
- Support pagination
1.6.1 27/06/2022 #
- Update package documentation
1.6.0 05/06/2022 #
- Searchable list with divider
- Seperated sliver effect constructor
- Enhanced code version with Flutter 3 support
- Scroll direction parameter
1.5.3 25/05/2022 #
- Fix onItemPressed attibute
- Fix bugs
1.5.2 27/04/2022 #
- Enhanced attributes checking
1.5.1 17/04/2022 #
- Update search type enum name
- Perform iOS upgrade check
- Bug fixes
1.5.0 14/04/2022 #
- Add sliver scroll effect
- Bug fixes
1.4.0 02/04/2022 #
- Add pull to refresh behaviour to the list
- Bug fixes
1.3.5 25/03/2022 #
- Enhance package coding style (remove dynamic)
- Bug fixes
1.3.4 10/03/2022 #
- Fix list state issue on update list
1.3.3 03/03/2022 #
- Fix input decoration bug
1.3.2 27/02/2022 #
- Add clear button suffix icon
1.3.1 25/01/2022 #
- Bug fixes
1.3.0 25/01/2022 #
- Add customization to search field text style
1.2.0 21/01/2022 #
- Enhanced widget parameters
- bug fixes
1.1.0 05/01/2022 #
- Add on item pressed callback parameter
- bug fixes
1.0.0 18/12/2021 #
- Filter list view easily
- Display custom widget when list is empty
- Customize search text field
- Change keyboard input type and keyboard submit button
- Add focus on search text field