selection Indicator
Creates a PickerSelectionIndicator for composite pickers (e.g. io.github.kezlab.compose.pickers.time.TimePicker, io.github.kezlab.compose.pickers.date.DatePicker).
Composite pickers render a single selection band spanning the whole picker instead of one divider per column, so per-column PickerStyle divider settings do not apply to them. The defaults derive from style so existing divider customizations carry over.
Return
A PickerSelectionIndicator instance with the specified values.
Parameters
The picker style used to derive default indicator values.
The color of the selection band lines.
The thickness of each selection band line.
The shape of each selection band line.
The inset applied to each side of the band so it can be narrower than the full picker width while staying centered.
Whether the selection band is drawn.
The color of the selection band lines when the composite picker is disabled.
Creates a PickerSelectionIndicator without requiring a PickerStyle.
Use this overload when only the composite selection band itself should be customized, for example PickerDefaults.selectionIndicator(horizontalInset = 16.dp). Use the style-based overload when a custom PickerStyle should drive indicator defaults.
Return
A PickerSelectionIndicator instance with the specified values.
Parameters
The color of the selection band lines.
The thickness of each selection band line.
The shape of each selection band line.
The inset applied to each side of the band so it can be narrower than the full picker width while staying centered.
Whether the selection band is drawn.
The color of the selection band lines when the composite picker is disabled.