added functionality to clear search text
All checks were successful
Flutter APK Build / Build Flutter APK (push) Successful in 6m38s

This commit is contained in:
2026-01-21 12:27:52 +01:00
parent 321a310add
commit c7c5b3682d
3 changed files with 37 additions and 12 deletions

View File

@@ -17,6 +17,7 @@ class SearchPage extends StatelessWidget {
children: [
SearchBarWidget(
onEditingComplete: context.read<SearchProvider>().setSearchText,
onResetSearch: context.read<SearchProvider>().removeSearchText,
),
Expanded(child: SearchResultsWidget()),
],