title: How to fill shape with Gradient in SwiftUI
body: <p>how can i pass LinearGradient to a shape (for example Rectangle) <strong>just</strong> in SwiftUI?</p>
  
  <pre><code>Rectangle().frame(width: UIScreen.main.bounds.width, height: 200)
  </code></pre>