DetailHeader

struct DetailHeader : View

The header for details

  • The color scheme

    Declaration

    Swift

    @Environment
    var colorScheme: ColorScheme { get }
  • The title of the header

    Declaration

    Swift

    let title: String
  • The optional subtitle

    Declaration

    Swift

    var subtitle: String?
  • The font size

    Declaration

    Swift

    private var font: Double { get }
  • The colors

    Declaration

    Swift

    private var colors: [Color] { get }

Body of the View

  • The body of the View

    Declaration

    Swift

    var body: some View { get }