semantics

fun semantics(pickerLabel: String? = null, previousItemActionLabel: String? = PreviousItemActionLabel, nextItemActionLabel: String? = NextItemActionLabel): PickerSemantics

Creates semantics configuration for one picker column.

Value descriptions are configured with itemFormat.

Return

A PickerSemantics instance with the specified semantics behavior.

Parameters

pickerLabel

Optional label used as the accessibility prefix for the picker column.

previousItemActionLabel

Accessibility action label for selecting the previous item. Pass null or blank to omit the action.

nextItemActionLabel

Accessibility action label for selecting the next item. Pass null or blank to omit the action.