title: how to download/create pdf through webview in flutter
body: <p>I have created a webviewscaffold but can't download anything from it while browsing from the webview, I made but when I click the button it does nothing. I don't know where to start, like in other browsers that can download and preview, I'm trying to achieve the same thing in here.</p>
  
  <pre><code>class AppState extends State&lt;App&gt; {
  
  
    @override
    Widget build(BuildContext context) {
      return Scaffold(
        body: Stack(
          children: &lt;Widget&gt;[
            Align(
              alignment: Alignment(1, 1),
              child: Container(
                child: Web(), // it is a statefulwidget that have WebviewScaffold, i have created it on a new page and imported/used here
              ),
            ),
            Column(
              mainAxisAlignment: MainAxisAlignment.end,
              children: &lt;Widget&gt;[
                Padding(
                  padding: EdgeInsets.only(top: 20.0),
                )
              ],
            ),
            Align(
              alignment: Alignment(0.7, -0.93),
              child: FloatingActionButton(
                  tooltip: "Share",
                  child: Icon(
                    Icons.share,
                    color: Colors.amberAccent,
                  ),
                  onPressed: () {
                    _onShareTap();
                  }),
            ),
          ],
        ),
      );
    }
  </code></pre>
  
  <p>I expect, when I click the print or download button within the webview it should work like any other browser.</p>