title: Error: A value of type 'x' can't be assigned to a variable of type 'Widget'
body: <p>I'm getting the following error during compiling:</p>
  
  <p>lib/main.dart:40:34: Error: A value of type 'Clubinfo' can't be assigned to a variable of type 'Widget'.</p>
  
  <p>The files sponsor.dart and clubinfo.dart seems to be the same.  I've just replaced </p>
  
  <pre><code>Sponsor-&gt;Clubinfo
  sponsor-&gt;clubinfo
  Sponsors-&gt;Clubinfos
  sponsors-&gt;clubinfos
  
  
          final List&lt;Widget&gt; screens = [
          Home(), Events(), Players(), Clubinfo(),Sponsors(),
          ];
  
  </code></pre>
  
  <p>The error is coming from this line. 
  Clubinfo is a copy of sponsors.dart but only sponsors is working.
  I've changed the names in the dart file.
  lib/main.dart:40:34: Error: A value of type 'Clubinfo' can't be assigned to a variable of type 'Widget'.</p>