ConditionalSingleView

public struct ConditionalSingleView<TrueContent, FalseContent> : IndexedViewContainer where TrueContent : View, FalseContent : View

Conditional single view

  • Declaration

    Swift

    public let count: Int
  • the View at Index in the PageView

    Declaration

    Swift

    public func view(at index: Int) -> some View