ProfileHeader
public struct ProfileHeader
extension ProfileHeader: View
extension ProfileHeader: _ViewEmptyChecking
Sets the separator for profile header components Example usage:
ProfileHeader(...)
.headerSeparator(true) // Show separator with default style
.headerSeparator(true, color: .red) // Show red separator
.headerSeparator(true, color: .blue, lineWidth: 1.0) // Show thick blue separator
.headerSeparator(false) // Hide separator
-
Undocumented
Declaration
Swift
public init(@ViewBuilder detailImage: () -> any View = { EmptyView() }, @ViewBuilder title: () -> any View, @ViewBuilder subtitle: () -> any View = { EmptyView() }, @ViewBuilder description: () -> any View = { EmptyView() }, animatable: Bool = false, @ViewBuilder detailContent: () -> any View = { EmptyView() }, componentIdentifier: String? = ProfileHeader.identifier)
-
Undocumented
Declaration
Swift
static let identifier: String
-
Undocumented
Declaration
Swift
init(detailImage: Image? = nil, title: AttributedString, subtitle: AttributedString? = nil, description: AttributedString? = nil, animatable: Bool = false, @ViewBuilder detailContent: () -> any View = { EmptyView() })
-
Undocumented
Declaration
Swift
init(_ configuration: ProfileHeaderConfiguration)
-
Declaration
Swift
@MainActor public var body: some View { get }
-
Undocumented
Declaration
Swift
public var isEmpty: Bool { get }