Child

public struct Child : ElementBuilderChild

A child placed within the flow layout.

  • key

    The key used to optionally unique the child item.

    Declaration

    Swift

    public var key: AnyHashable?
  • The traits of a child item.

    Declaration

    Swift

    public var traits: Traits
  • The element representing the child item.

    Declaration

    Swift

    public var element: Element
  • Creates a new child item with the given element.

    Declaration

    Swift

    public init(_ element: Element)
  • Creates a new child item with the given element.

    Declaration

    Swift

    public init(_ element: Element, key: AnyHashable? = nil, priority: Priority = .default)
  • Declaration

    Swift

    public struct Traits