add tab view filter and sort options
This commit is contained in:
1 parent
51b53d900b
commit
8898f8a317
35 files changed
+4519
-692
No files matched your search
+8
-2
@@ -58,7 +58,9 @@ class FullSearchTermSuggestions extends HookConsumerWidget {
|
||||
|
||||
final searchSuggestions = ref.watch(searchSuggestionsProvider());
|
||||
final searchHistory = ref.watch(searchHistoryProvider);
|
||||
final expanded = ref.watch(persistedBoolProvider(PersistedBoolKey.searchSuggestionsExpanded));
|
||||
final expanded = ref.watch(
|
||||
persistedBoolProvider(PersistedBoolKey.searchSuggestionsExpanded),
|
||||
);
|
||||
|
||||
useOnListenableChange(searchTextController, () {
|
||||
ref
|
||||
@@ -111,7 +113,11 @@ class FullSearchTermSuggestions extends HookConsumerWidget {
|
||||
padding: const EdgeInsets.only(top: 6.0),
|
||||
child: IconButton(
|
||||
onPressed: ref
|
||||
.read(persistedBoolProvider(PersistedBoolKey.searchSuggestionsExpanded).notifier)
|
||||
.read(
|
||||
persistedBoolProvider(
|
||||
PersistedBoolKey.searchSuggestionsExpanded,
|
||||
).notifier,
|
||||
)
|
||||
.toggle,
|
||||
icon: Icon(expanded ? Icons.unfold_less : Icons.unfold_more),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user