SizeDependentTextVariant

The size dependent variant preference allows the text to take the available space into account when choosing the variant to display.

StructureiOS 18.0+macOS 15.0+tvOS 18.0+watchOS 11.0+visionOS 2.0+SizeDependentTextVariant in SwiftUI