italic(_:)
Applies italics to the text in this view.
Declaration
nonisolated func italic(_ isActive: Bool = true) -> some View
Parameters
- isActive:
A Boolean value that indicates whether italic styling is added. The default value is
true.
Return Value
A View with italic text.