title: How to solve flutter inappwebview stopped working?
body: <p>I have created an app to display html file with <code>flutter_inappwebview</code> plugin but i got errors as below:<br>
  pubspec.yaml</p>
  <pre><code>flutter_inappwebview: ^2.1.0
  </code></pre>
  <p>here is  my main.dart</p>
  <pre><code>import 'dart:async';
  import 'package:flutter/material.dart';
  import 'package:flutter_inappwebview/flutter_inappwebview.dart';
  Future main() async {
    runApp(new MyApp());
  }
  class MyApp extends StatefulWidget {
    @override
    _MyAppState createState() =&gt; new _MyAppState();
  }
  class _MyAppState extends State&lt;MyApp&gt; {
    InAppWebViewController webView;
    String url = &quot;&quot;;
    double progress = 0;
    @override
    void initState() {
      super.initState();
    }
    @override
    void dispose() {
      super.dispose();
    }
    @override
    Widget build(BuildContext context) {
      return Container(
        height: 200,
        child: InAppWebView(
          initialUrl: 'https://www.google.com',
        ),
      );
    }
  }
  </code></pre>
  <p>when I run the code the app unfortunately stop.
  <br>
  This is an error in Emulator.
  <br></p>
  <p><a href="https://i.stack.imgur.com/pz1z8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pz1z8.png" alt="enter image description here" /></a></p>
  <p><br>This is an error in Android Studio 3.5.3
  <br></p>
  <p><a href="https://i.stack.imgur.com/aguEt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aguEt.png" alt="enter image description here" /></a></p>
  <p>Any solutions thanks?</p>