sectionIndexLabel(_:)
Sets the label that is used in a section index to point to this section, typically only a single character long.
Declaration
nonisolated func sectionIndexLabel(_ label: Text?) -> some View
Parameters
- label:
The label to display in the section index, or
nilto display no label for this section.
Discussion
See also
listSectionIndexVisibility(_:)