From 26e5c6b4b74d83da4de89ce8a3224e74f4a7cd81 Mon Sep 17 00:00:00 2001 From: Badr Kouki Date: Wed, 30 Jul 2025 11:13:51 +0100 Subject: [PATCH 1/2] fix #154: rollback expansible controller to expansion controller --- analysis_options.yaml | 3 +++ lib/searchable_listview.dart | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index dc93af9..db5c3e2 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,3 +1,6 @@ +analyzer: + errors: + deprecated_member_use: ignore include: package:flutter_lints/flutter.yaml linter: rules: diff --git a/lib/searchable_listview.dart b/lib/searchable_listview.dart index f5321cf..9d63fa8 100644 --- a/lib/searchable_listview.dart +++ b/lib/searchable_listview.dart @@ -490,7 +490,7 @@ class _SearchableListState extends State> { List filtredAsyncListResult = []; String searchText = ''; bool dataDownloaded = false; - List expansionTileControllers = []; + List expansionTileControllers = []; @override void initState() { @@ -658,7 +658,7 @@ class _SearchableListState extends State> { expansionTileControllers.addAll( List.generate( widget.expansionListData.length, - (e) => ExpansibleController(), + (e) => ExpansionTileController(), ), ); if (widget.hideEmptyExpansionItems) { From 2a3b26ca22952ef6a3c917075a1193d5b8ee45f7 Mon Sep 17 00:00:00 2001 From: Badr Kouki Date: Wed, 30 Jul 2025 11:15:04 +0100 Subject: [PATCH 2/2] docs: update package version and changelog --- CHANGELOG.md | 5 +++++ README.md | 2 +- pubspec.yaml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e888a5..31be463 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 2.19.3 - 30/07/2025 + +- **Bug Fix** + - Fix exapnsible controller compatbility and build errors [Issue#154](https://github.com/koukibadr/Searchable-Listview/issues/154) + ## 2.19.2 - 23/07/2025 - **Bug Fix** diff --git a/README.md b/README.md index bcc3600..566a9d3 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ In order to add searchable listview package to your project add this line to you ```yaml dependencies: - searchable_listview: ^2.19.2 + searchable_listview: ^2.19.3 ``` ## Attributes diff --git a/pubspec.yaml b/pubspec.yaml index cbe628a..aff85e6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: searchable_listview description: A new easy way to filter listview with simple implementation with possibilty to customize search field and empty widget -version: 2.19.2 +version: 2.19.3 homepage: 'https://github.com/koukibadr/Searchable-Listview' environment: sdk: '>=2.12.0 <4.0.0'