Duration Picker
Selects a finite, non-negative, whole-minute Duration with elapsed-hour and minute columns.
Each user-settled column change is repaired against the combined scalar constraints before one logical value is committed to state. Programmatic DurationPickerState.selectDuration calls update state without invoking onSelectedDurationChange and replace any in-flight child interaction generation.
Parameters
Modifier applied to the whole component.
Modifier applied to each child picker column.
Saveable logical duration state.
Called once after a user interaction settles, dependent values are repaired, and the final selectable duration has been committed to state.
Whether user scroll, click, and semantics actions are enabled.
Selectable elapsed-hour/minute sources and inclusive scalar constraints.
Visible text and optional value content descriptions for both columns.
Visual and layout styling for each child column.
Shared selection band drawn across the whole component.
Column weights and visual order.
Horizontal spacing between child columns.
Accessibility labels and action labels for both columns.
Throws
if item sources are empty, duplicated, outside supported ranges, have no scalar combination allowed by constraints, or do not contain the current selection.