feat: refactor agent filter sheet to support dynamic API-driven types and update professional card layout

This commit is contained in:
pradeepkumar
2026-04-08 09:42:41 +05:30
parent de58d807ec
commit 6ff1b8e821
3 changed files with 232 additions and 211 deletions

View File

@@ -96,6 +96,11 @@ class _AgentSearchScreenState extends ConsumerState<AgentSearchScreen> {
onClearAll: () {
ref.read(searchAgentsProvider.notifier).clearFilters();
},
onListingTypeChange: (agentTypeId) {
ref
.read(searchAgentsProvider.notifier)
.filterByAgentType(agentTypeId);
},
),
);
}