title: How to open a new tab in the browser using the package:js in flutter
body: <p>I'm trying to open a new tab</p>
  <p>I can do so by using dart:js</p>
  <pre><code>js.context.callMethod('open',
            ['$url', '_blank']);
  </code></pre>
  <p>But the above approach gave me this warning</p>
  <pre><code>Avoid using web-only libraries outside Flutter web plugin packages.dartavoid_web_libraries_in_flutter
  </code></pre>
  <p>Then I read about javascript interoperability with dart <a href="https://dart.dev/web/js-interop" rel="nofollow noreferrer">here</a> at dart official documentation page.</p>
  <p>It suggests to use the package <code>js: ^0.6.3</code> ( <a href="https://pub.dev/packages/js" rel="nofollow noreferrer">link</a> ) instead of <code>dart:js</code></p>
  <p>The problem is that I don't know how I can use <code>js: ^0.6.3</code> to open a new tab in the browser. I couldn't find much documentation or tutorial.</p>
  <p>Thank you in advance.</p>