I have this code to display a list of custom rows.
struct ContentView : View { var body: some View { VStack(alignment: .leading) { List(1
Remove paddings and separator
iOS 14.2, Xcode 12.2
ScrollView { LazyVStack { ForEach(viewModel.portfolios) { portfolio in PortfolioRow(item: portfolio) } } }
This gives you complete control over the list. Current implementation of List doesn't provide full control and contains some issues.