Reporting Period Selector Widget
Component Detail
User Interface
low complexity
Shared Component
mobile
0
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
Reusable Flutter widget for selecting the date range and organizational scope of a Bufdir report. Supports predefined periods (quarterly, annual) and custom date ranges. Ensures multi-tenancy by scoping selections to the authenticated user's organization.
reporting-period-selector
Responsibilities
- Render date range picker with predefined period shortcuts
- Validate that selected period contains registered activities
- Scope selection to authenticated organization context
- Emit period change events to parent screens
Interfaces
selectPredefinedPeriod(period)
selectCustomRange(startDate, endDate)
getSelectedPeriod()
onPeriodChanged(callback)
validatePeriodHasData()
resetToDefault()