Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
View modifier

textCase(_:)

A view modifier that maps SwiftUI's textCase.

iOS 17.0+macOS 14.0+tvOS 17.0+watchOS 10.0+
fun Modifier.textCase(textCase: Text.Case?): Modifier

Overview

Modifier.textCase(textCase = Text.Case.…)

This is the Kotlin form of SwiftUI View.textCase(_:): SwiftUI documentation. In Swift it reads:

nonisolated func textCase(_ textCase: Text.Case?) -> some View

Topics

Overloads

fun Modifier.textCase(textCase: Text.Case?): Modifier
SwiftUI View.textCase(_:)