-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmusicaSel.swift
50 lines (35 loc) · 1.31 KB
/
musicaSel.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//
// musicaSel.swift
// SenacTarde
//
// Created by StudentBackup01 on 06/09/23.
//
import SwiftUI
private var imageList = ["arrow.swap",
"backward",
"play",
"forward",
"repeat",
]
struct musicaSel: View {
@State var auxiliar: lista
var body: some View {
ZStack{
LinearGradient(gradient: Gradient(colors: [.white, .blue, .black]), startPoint: .top, endPoint: .bottom
).edgesIgnoringSafeArea(.all).zIndex(0)
VStack{
AsyncImage(url: URL(string:"\(auxiliar.capa)")!, scale: 2 ).frame(width: 10, height: 230).padding(10)
Spacer().frame(height: 40)
Text(auxiliar.nome).foregroundColor(.white)
Text(auxiliar.artist).foregroundColor(.white)
Spacer().frame(height: 40)
HStack{
ForEach(imageList, id: \.self){image in
Image(systemName: "\(image)").font(.system(size:30)).foregroundColor(.white)
Spacer().frame(width:20)
}
}
}
}
}
}