title: 'Element' is imported from 2 packages
body: <p>i'm trying to use html parsing with dart in a Flutter App:</p>
  
  <pre><code>Future getSomething() async {
  
    http.Response response = await http.get('https://news.ycombinator.com/');
  
    Document document = parser.parse(response.body);
  
    document.getElementsByTagName('a').forEach((Element element){
    print(element.text);
    });
  } 
  </code></pre>
  
  <p>But i have an error in <code>(Element element)</code> :</p>
  
  <blockquote>
    <p>Compiler message:
    lib/main.dart:7:1: Error: 'Element' is imported from both 'package:flutter/src/widgets/framework.dart' and 'package:html/dom.dart'.</p>
  </blockquote>