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