How to Create a Full-Width Container (Edge-to-Edge Layout) Above a List View

I’m trying to add a container view above a list view that stretches edge-to-edge across the device.

What’s the recommended approach to achieve this layout with Swift UI?

Example

How to Create a Full-Width Container (Edge-to-Edge Layout) Above a List View
 
 
Q