title: Why is my FAB refresh button not refreshing on tap in WebView?
body: <p>Hi I have a problem with my WebView flutter app, I have a floating action button but its not refreshing on tap</p>
  
  <p>my code where the fab is located are:</p>
  
  <pre><code>import 'dart:async';
  import 'dart:math';
  import 'package:flutter/material.dart';
  import 'package:webview_flutter/webview_flutter.dart';
  
  class HomePage extends StatefulWidget {
    HomePage({Key key}) : super(key: key);
  
    @override
    _HomePageState createState() =&gt; _HomePageState();
  }
  
  class _HomePageState extends State&lt;HomePage&gt; {
  
    WebViewController _myController;
        final Completer&lt;WebViewController&gt; _controller =
        Completer&lt;WebViewController&gt;();
    @override
    Widget build(BuildContext context) {
      return SafeArea(
              child: Scaffold(
                    body: WebView(
                    initialUrl: 'https://syncshop.online/en/',
                    javascriptMode: JavascriptMode.unrestricted,
                    onWebViewCreated: (controller) {
                    _myController = controller;
                  },
            onPageFinished: (initialUrl) {
                _myController.evaluateJavascript("document.getElementsByClassName('footer-container')[0].style.display='none';");
            },
            ),
            floatingActionButton: FloatingActionButton(
              onPressed: () {
                _myController?.reload();
              },
              child: Icon(Icons.refresh),
            ),
            ),
        );
      }
  }
  </code></pre>
  
  <p>The FAB is there but not refreshing the webview url when pressed</p>