title: How to automatically zoom on Flutter WebView
body: <p>I would like to know how to automatically zoom on Flutter WebView.</p>
  <p>I know the user can manually zoom on the WebView content, but I would like to control it from the start because when I put the emulator in portrait mode the informations in my WebView are too small for the user to read :</p>
  <p><a href="https://i.stack.imgur.com/0Td7l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0Td7l.png" alt="enter image description here" /></a></p>
  <p>I tried to increase the WebView width to make it larger and so that it would automatically be zoomed and the user could use horizontal scroll to read it.</p>
  <pre><code> child: WebView(
                            zoomEnabled: true,
                            initialUrl: Uri.dataFromString('&lt;html&gt;&lt;body&gt;&lt;iframe src=&quot;webpage_url&quot; width=&quot;1920&quot; height=&quot;700&quot;&gt;&lt;/iframe&gt;&lt;/body&gt;&lt;/html&gt;', mimeType: 'text/html').toString(),
                            javascriptMode: JavascriptMode.unrestricted,
                          ))
  </code></pre>
  <p>This works well with the IFrameElement that I use for the web version of my app (WebView isn't supported by Flutter Web nor is IFrameElement by the android emulator)</p>
  <pre><code>IFrameElement _iframeElement = IFrameElement();
      _iframeElement.height = '750';
      _iframeElement.width = '1920';
  </code></pre>
  <p>Here(web version of my app), the iframe is automatically zoomed accordingly to the width and I height I defined for it :</p>
  <p><a href="https://i.stack.imgur.com/li4EN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/li4EN.png" alt="enter image description here" /></a></p>
  <p>How do I achieve that using WebView ?</p>
  <p>Thanks for helping.</p>