Activity Type Filter Widget
Component Detail
User Interface
low complexity
mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
A horizontal scrollable chip list that lets the user filter statistics by a specific activity type (e.g., home visit, phone call, event). Selection drives a new API call via the statistics BLoC.
activity-type-filter-widget
Responsibilities
- Render activity type chips from the dynamic list
- Highlight the active filter selection
- Emit selection events to statistics BLoC
Interfaces
ActivityTypeFilterWidget({required List<ActivityType> types, String? selectedTypeId, required ValueChanged<String?> onChanged})
build(BuildContext)
Related Data Entities (1)
Data entities managed by this component