Instance Method

foregroundColor(_:)

Sets the color that the view uses for foreground elements.

Declaration

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

See Also

Setting the Foreground or Background of a View