title: SwiftUI - PresentationButton with modal that is full screen
body: <p>I am trying to implement a button that presents another scene with a "Slide from Botton" animation. </p>
  
  <p>PresentationButton looked like a good candidate, so I gave it a try:</p>
  
  <pre><code>import SwiftUI
  
  struct ContentView : View {
      var body: some View {
          NavigationView {
              PresentationButton(destination: Green().frame(width: 1000.0)) {
                  Text("Click")
  
                  }.navigationBarTitle(Text("Navigation"))
          }
      }
  }
  
  #if DEBUG
  struct ContentView_Previews : PreviewProvider {
      static var previews: some View {
          Group {
              ContentView()
                  .previewDevice("iPhone X")
                  .colorScheme(.dark)
  
              ContentView()
                  .colorScheme(.dark)
                  .previewDevice("iPad Pro (12.9-inch) (3rd generation)"
  
              )
  
          }
  
      }
  }
  #endif
  </code></pre>
  
  <p>And here is the result:
  <a href="https://i.stack.imgur.com/5wLif.png" rel="noreferrer"><img src="https://i.stack.imgur.com/5wLif.png" alt="enter image description here"></a></p>
  
  <p>I want the green view to cover the whole screen, and also the modal to be not "draggable to close".</p>
  
  <p>Is it possible to add modifier to PresentationButton to make it full screen, and not draggable?</p>
  
  <p>I have also tried a Navigation Button, but:
   - It doesn't "slide from bottom"
   - It creates a "back button" on detail view, which I don't want</p>
  
  <p>thanks!</p>