title: Error: A value of type 'List<dynamic>' can't be assigned to a variable of type 'List<int>'
body: <p>I have list temp and call the function List but this error happens</p>
  <p>This error happens only after updating flutter</p>
  <p><code>A value of type 'List&lt;dynamic&gt;' can't be assigned to a variable of type 'List&lt;int&gt;'.</code></p>
  <p>I guess there is no List though ,,,</p>
  <p>How can I fix this ??</p>
  <pre><code> List&lt;int&gt; arr = [];
   List&lt;List&lt;int&gt;&gt; temp = [
      [3,4],
      [3,5],
      [4,3],
      [4,4],
      [5,2],
      [5,5],
      [2,3],
      [2,4],
   ];
   arr = chord3(0,temp[2]); // I call chord3 function here
  
  
   List chord3(f,List&lt;int&gt; s){ // this is function and error occurs here
      List&lt;int&gt; temp = [];
      temp.add(f);
      temp.add(1);
      return temp;
   }
  </code></pre>