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.
-
Undocumented
Declaration
Swift
public init(model: ListPickerItemModel)
-
Undocumented
Declaration
Swift
public init(key: String, value: String? = nil)
-
Undocumented
Declaration
Swift
public init( @ViewBuilder key: () -> Key )