Structure
ToDoCardHeader
public struct ToDoCardHeader: View
Relationships
Conforms To
View
Initializers
init(colorProvider:image:title:date:)
public init(colorProvider: ColorProvider.Type, image: ImageAsset? = nil, title: String, date: Date)
Properties
colorProvider
@State public var colorProvider: ColorProvider.Type
Styles the header with a color. Different parts of the header use a slightly different color, so providing a ColorProvider will allow the configuration to style the header correctly.
image
@State public var image: ImageAsset?
An image to display on the left side of the header. Provide nil if you want to hide the image.
body
public var body: some View