title: How to enable 'constructor-tearoffs' feature?
body: <p>When I try to get the type of a class with generic</p>
  <pre><code>class Dummy&lt;T&gt; {
    T? value;
  }
  
  void main() {
    Type t = Dummy&lt;int&gt;;
  }
  </code></pre>
  <p>I get this error:</p>
  <blockquote>
  <p>This requires the 'constructor-tearoffs' language feature to be enabled.<br />
  Try updating your pubspec.yaml to set the minimum SDK constraint to 2.14.0 or higher, and running 'pub get'.</p>
  </blockquote>
  <p>My pubspec.yaml containes the right SDK version, and I run already flutter clean and flutter pub get</p>
  <pre><code>environment:
    sdk: &quot;&gt;=2.14.4 &lt;3.0.0&quot;
  </code></pre>
  <p>How do I solve it?</p>