Wrapper
struct Wrapper<Content> : View where Content : View
SwiftUI View to wrap the DetailView
-
Init the
ViewDeclaration
Swift
init(scroll: String? = nil, part: Bool = false, title: String? = nil, subtitle: String? = nil, @ViewBuilder content: () -> Content) -
Wrap the view in a
ScrollViewwhen setDeclaration
Swift
let scroll: String? -
View the details as part of another View
Declaration
Swift
var part: Bool -
The optional title of the message
Declaration
Swift
let title: String? -
The optional subtitle
Declaration
Swift
var subtitle: String? -
The content of the
ViewDeclaration
Swift
let content: Content
-
The body of the
ViewDeclaration
Swift
var body: some View { get }
-
The wrapper of the
ViewDeclaration
Swift
@ViewBuilder var wrapper: some View { get } -
The header of the
ViewDeclaration
Swift
@ViewBuilder var header: some View { get } -
The content in a
ScrollViewDeclaration
Swift
@ViewBuilder var scrollContent: some View { get } -
The content in a
VStackDeclaration
Swift
@ViewBuilder var fixedContent: some View { get }
View on GitHub
Wrapper Structure Reference