Wrapper

struct Wrapper<Header, Content, Buttons> : View where Header : View, Content : View, Buttons : View

SwiftUI View to wrap the ContentView

  • Init the View

    Declaration

    Swift

    init(@ViewBuilder header: () -> Header, @ViewBuilder content: () -> Content, @ViewBuilder buttons: () -> Buttons)
  • The header of the View

    Declaration

    Swift

    let header: Header
  • The content of the View

    Declaration

    Swift

    let content: Content
  • The buttons of the View

    Declaration

    Swift

    let buttons: Buttons
  • Current color scheme

    Declaration

    Swift

    @Environment
    var colorScheme: ColorScheme { get }

Body of the View

  • The body of the View

    Declaration

    Swift

    var body: some View { get }