Contents

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 nil to display no label for this section.

Discussion

  • See also listSectionIndexVisibility(_:)

See Also

Configuring a section index