import SwiftUI
struct FriendDetailView: View {
var body: some View {
VStack {
HStack {
Text("Hello π« ")
.font(.largeTitle)
.font(.title)
.foregroundColor(.blue)
VStack {
Text("Pro")
.font(.largeTitle)
.foregroundColor(.blue)
.font(.title)
}
}
}
VStack {
HStack {
Image("Friend")
.scaledToFill()
}
HStack {
Text("Adding a VStack inside an HStack")
.font(.footnote)
}
HStack {
Text("Adding a VStack inside an HStack")
.font(.footnote)
}
}
VStack {
HStack {
Image("Friend")
.resizable()
.scaledToFit()
.padding(.all, 10)
Text("ββ―ββππ« ")
.foregroundColor(.blue)
.font(.largeTitle)
Text("Adding a VStack inside an HStack")
}
}
VStack {
HStack {
Image("Blu")
.resizable()
.scaledToFit()
.padding(.all, 10)
Text("ββ―ββππ« ")
.foregroundColor(.blue)
.font(.largeTitle)
Text("Adding a VStack inside an HStack")
}
}
VStack {
HStack {
Image("Hopper")
.resizable()
.scaledToFit()
.padding(.all, 10)
Text("ββ―ββππ« ")
.foregroundColor(.blue)
.font(.largeTitle)
Text("Adding a VStack inside an HStack")
}
}
VStack {
HStack {
Image("Friend")
.resizable()
.scaledToFit()
.padding(.all, 10)
Text("ββ―ββππ« ")
.foregroundColor(.blue)
.font(.largeTitle)
Text("Adding a VStack inside an HStack")
}
}
}
}
struct FriendDetailView_Previews: PreviewProvider {
static var previews: some View {
VStack {
FriendDetailView()
}
}
}
Post
Replies
Boosts
Views
Activity
Friend Detail View
Friend Detail View