Use multiple Font text in swiftui fonts
In swift we used to add two different label for different font. this can be achieved in swiftui fonts.
We can add this in below format in SwiftUI.
struct ContentView: View {
var body: some View {
Text("Hello, World!") + Text(" Hello, World!").bold() + Text(" Hello, World!").underline()
}
}
![how to use multiple font size text in SwiftUI 2 Screenshot%2B2021 08 25%2Bat%2B6.40.23%2BPM](https://lh3.googleusercontent.com/-7A_hmLZI090/YSZBRL3L_7I/AAAAAAAAAGU/PpyNp6PPCe0rZxwHCR_m6g8zroWk5_Y0QCLcBGAsYHQ/w200-h400/Screenshot%2B2021-08-25%2Bat%2B6.40.23%2BPM.png)