ListPickerItem

public struct ListPickerItem<Key, Value> where Key : View, Value : View
extension ListPickerItem: View

Undocumented

  • Undocumented

    Declaration

    Swift

    public init(
          @ViewBuilder key: () -> Key,
    @ViewBuilder value: () -> Value
          )
  • Declaration

    Swift

    public var body: some View { get }
  • Returns a list picker item with given configuration.

    Declaration

    Swift

    init(
        @ViewBuilder key: @escaping () -> Key,
        @ViewBuilder value: @escaping () -> Value,
        configuration: ListPickerItemConfiguration? = nil
    )

    Parameters

    key

    The key view of the list.

    value

    The value view of the list.

    configuration

    The configuration for constructing the list picker.

Available where Key == Text, Value == _ConditionalContent<Text, EmptyView>

Available where Value == EmptyView

  • Undocumented

    Declaration

    Swift

    public init(
    @ViewBuilder key: () -> Key
    )