monospaced(_:)
Modifies the font of the text to use the fixed-width variant of the current font, if possible.
Declaration
nonisolated func monospaced(_ isActive: Bool = true) -> TextParameters
- isActive:
A Boolean value that indicates whether monospaced styling is added. Default value is
true.
Return Value
Monospaced text.