Wrapper
struct Wrapper<Content> : View where Content : View
SwiftUI View
to wrap the DetailView
-
Init the
View
Declaration
Swift
init(scroll: String? = nil, part: Bool = false, title: String? = nil, subtitle: String? = nil, @ViewBuilder content: () -> Content)
-
Wrap the view in a
ScrollView
when 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
View
Declaration
Swift
let content: Content
-
The body of the
View
Declaration
Swift
var body: some View { get }
-
The wrapper of the
View
Declaration
Swift
@ViewBuilder var wrapper: some View { get }
-
The header of the
View
Declaration
Swift
@ViewBuilder var header: some View { get }
-
The content in a
ScrollView
Declaration
Swift
@ViewBuilder var scrollContent: some View { get }
-
The content in a
VStack
Declaration
Swift
@ViewBuilder var fixedContent: some View { get }