title: How to change ListStyle in List
body: <p>In SwiftUI <code>List</code> Appears to have a property called <code>ListStyle</code>. </p>
  
  <p>How can i change the style of the list  </p>
  
  <pre><code>struct ListView : View {
  var body: some View {
      NavigationView {
      List(Item.create().identified(by: \.id)){ row in
          NavigationButton(destination: DetailsView(item: row)) {
              RowView(item: row)
          }
      }
      .listStyle(StaticMember&lt;PlainListStyle.Member&gt;.self) // error here
      .foregroundColor(.red)
      .navigationBarTitle(Text("List View"))
      .statusBar(hidden: false)
      }
    }
  }
  </code></pre>
  
  <p>The conforming parties of <code>ListStyle</code> protocol are </p>
  
  <ol>
  <li>CarouselListStyle </li>
  <li>DefaultListStyle </li>
  <li>GroupedListStyle </li>
  <li>PlainListStyle</li>
  <li>SidebarListStyle</li>
  </ol>
  
  <p>However i am struggling trying to set a new style for the list 
  using it like this </p>
  
  <pre><code>.listStyle(StaticMember&lt;PlainListStyle.Member&gt;.self)
  </code></pre>
  
  <p>I have tried so many ways, but each style confirming to the <code>ListStyle</code> is struct, like they're not enumerated values </p>
  
  <p>Anyone have an idea how to change the style of <code>List</code> ? </p>
  
  <p><strong>Error in Xcode</strong></p>
  
  <blockquote>
    <p>Cannot convert value of type 'StaticMember.Type' (aka 'StaticMember>.Type') to expected argument type 'StaticMember&lt;_>'</p>
  </blockquote>
  
  <p>Using : <code>.listStyle(StaticMember&lt;PlainListStyle.Member&gt;)</code></p>
  
  <p><strong>Error in Xcode</strong></p>
  
  <blockquote>
    <p>Cannot convert value of type '(StaticMember).Type' (aka 'StaticMember>.Type') to expected argument type 'StaticMember&lt;_>'</p>
  </blockquote>
  
  <p>Using : <code>.listStyle(StaticMember&lt;PlainListStyle()&gt;)</code> or <code>.listStyle(StaticMember&lt;PlainListStyle.self&gt;)</code></p>
  
  <p><strong>Error in Xcode</strong></p>
  
  <blockquote>
    <p>'>' is not a postfix unary operator</p>
  </blockquote>