fontWeight

Sets the font weight of the text in this view.

View ModifieriOS 16.0+macOS 13.0+tvOS 16.0+watchOS 9.0+fontWeight(_:) in SwiftUI