monospaced

Modifies the fonts of all child views to use the fixed-width variant of the current font, if possible.

View ModifieriOS 16.0+macOS 13.0+tvOS 16.0+watchOS 9.0+monospaced(_:) in SwiftUI