ListComponentStyle

public struct ListComponentStyle : ViewStyle

Contains the styling customization options for any list-based component.

  • The style of any of the items in the list.

    Declaration

    Swift

    public var listItem: ListItemStyle
  • The style of any of the section headers in the list.

    Declaration

    Swift

    public var sectionHeader: ListSectionHeaderStyle
  • Initializes the list component style.

    Declaration

    Swift

    public init(listItem: ListItemStyle,
                sectionHeader: ListSectionHeaderStyle)

    Parameters

    listItem

    The style of any of the items in the list.

    sectionHeader

    The style of any of the section headers in the list.

  • Initializes the list component style with the default style.

    Declaration

    Swift

    public init()