The opposite of padding.

Related tags

Layout View-Bleed
Overview

View+Bleed

The opposite of padding.

Example

import SwiftUI

struct ContentView: View {
    let padding = 10
    
    var body: some View {
        Group {
            Image("card")
                .bleed([.horizontal, .top], padding)
            Text("Testing")
        }
        .padding(padding)
    }
}
You might also like...
Releases(1.0.0)
Owner
Eric Lewis
Developer & Father. Feel free to reach out on twitter if I don't get back to you here.
Eric Lewis