Preview:

Code:
.listRowBackground(Color(.yellow))
.scrollContentBackground(.hidden)
.background(.linearGradient(colors: [.white, .accentColor], startPoint: .top, endPoint: .bottom))

微信扫一扫

.listRowBackground(Color(.yellow))
.scrollContentBackground(.hidden)
.background(.linearGradient(colors: [.white, .accentColor], startPoint: .top, endPoint: .bottom))

相关推荐