Instance Method

foregroundColor(_:)

Sets the color that the view uses for foreground elements.

Declaration

func foregroundColor(_ color: Color?) -> some View