title: How to create spacing between items in a SwiftUI List view?
body: <p>I can't seem to find a way to create spacing between <code>List</code> items.
  Maybe I shouldn't put in a list in the first place?</p>
  <p><a href="https://i.stack.imgur.com/6bLkZ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6bLkZ.png" alt="enter image description here" /></a></p>
  <p>What do you think?</p>
  <p>This the code that generates the view:</p>
  <pre><code>struct ContentView: View {
      
      @ObservedObject var ratesVM = RatesViewModel()
      
      init() {
          UINavigationBar.appearance().largeTitleTextAttributes = [.foregroundColor: UIColor.white]
          UITableView.appearance().backgroundColor = UIColor.init(named: &quot;midnight blue&quot;)
          UITableViewCell.appearance().backgroundColor = .green
          UITableView.appearance().separatorStyle = .none
      }
      
      var body: some View {
          
          NavigationView {
              List (ratesVM.ratesList, id: \.self) { rate in
                      Image(systemName: &quot;plus&quot;)
                      
                      Button(action: {print(&quot;pressed&quot;)}) {
                          Text(rate.hebrewCurrencyName)
                  }
              }
              .navigationBarTitle(&quot;המרות מטבע&quot;)
              .navigationBarItems(leading:
                  Button(action: {
                      print(&quot;button pressed&quot;)
                      self.ratesVM.callService()
                  }) {
                      Image(systemName: &quot;plus&quot;)
                          .foregroundColor(Color.orange)})
          }.environment(\.layoutDirection, .rightToLeft)
      }
  }
  </code></pre>