Just copy the below code and modify according to your needs.
var body: some View {
VStack(spacing: 20) {
// ...
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
.overlay(
VStack {
Spacer() // Pushes the button to the bottom
HStack {
Spacer() // Pushes the button to the right
Button(action: {
// Button Action here
}) {
Image(systemName: "plus")
.foregroundColor(.white)
.padding()
.background(Color(.green))
.clipShape(Circle())
.shadow(color: Color(.gray), radius: 2.5)
}
.padding()
}
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
)
}