title: Flutter webview text input gets hidden by soft keyboard
body: <p>I'm testing on Android (I'll verify it's the same on iOS also).</p>
  <p>My issue is that when I have a webview showing a stripe checkout page, and I tap a text entry there to enter something near the bottom (zipcode) then the virtual keyboard covers the webview and I'm NOT able to scroll up even in the webview.</p>
  <p>It appears that the webview takes up the whole screen as expected, but when a soft keyboard comes up Flutter I think usually makes space for it (shrinks widgets showing on the screen).  Webview appears to just stay the same size.</p>
  <p>I tried a hack of putting the web view in a container() with dynamic height myself.  It sorta works.  The code is below, and the key line is this height of the Container():</p>
  <pre><code>height: MediaQuery.of(context).size.height * (MediaQuery.of(context).viewInsets.bottom != 0 ? .7 : 1)
  </code></pre>
  <p>But this has issues with confusing the keyboard. It somehow tricks the keyboard to NOT be digit entry type for zip code for example.  It looks like it tries, but repaints to non digit keyboard after a split second.</p>
  <p><strong>Why does Webview not respect the soft keyboard on phones?</strong></p>
  <p>Here is my build in the stateful widget:</p>
  <pre><code>  @override
    Widget build(BuildContext context) {
      return SafeArea(
        child: Stack(
          children: [
            initialUrl == null
                ? Container()
                : Container(
                    height: MediaQuery.of(context).size.height * (MediaQuery.of(context).viewInsets.bottom != 0 ? .7 : 1),
                    child: WebView(
                      initialUrl: initialUrl,
                      javascriptMode: JavascriptMode.unrestricted,
                      onPageStarted: (controller) {},
                      onPageFinished: (controller) {
                        Future.delayed(Duration(milliseconds: 1234), () {
                          if (mounted) {
                            showLoading = false;
                            setState(() {});
                          }
                        });
                      },
                      navigationDelegate: (NavigationRequest request) {
                        if (request.url.startsWith('https://example.com/success')) {
                          Navigator.of(context).pop('success');
                        } else if (request.url.startsWith('https://example.com/cancel')) {
                          Navigator.of(context).pop('cancel');
                        }
                        return NavigationDecision.navigate;
                      },
                    ),
                  ),
            showLoading == true
                ? Center(
                    child: Container(width: 80, height: 80, child: CircularProgressIndicator()),
                  )
                : Container(),
          ],
        ),
      );
    }
  </code></pre>
  <p>Here are screen shots.  Note in the keyboard one you can NOT even scroll the webview to see the zip you're typing...</p>
  <p><a href="https://i.stack.imgur.com/pShFDl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pShFDl.png" alt="enter image description here" /></a>
  <a href="https://i.stack.imgur.com/vaiYyl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vaiYyl.png" alt="enter image description here" /></a></p>