fun Modifier.fontWeight(weight: Font.Weight?): ModifierOverview
Modifier.fontWeight(weight = Font.Weight.…)This is the Kotlin form of SwiftUI View.fontWeight(_:): SwiftUI documentation. In Swift it reads:
nonisolated func fontWeight(_ weight: Font.Weight?) -> some ViewTopics
Overloads
fun Modifier.fontWeight(weight: Font.Weight?): Modifier