title: I am getting type String is not a subtype of type int in my flutter project
body: <p>I downloaded a flutter project and tried to run it, but I get this error</p>
  <pre><code>type 'String' is not a subtype of type 'int'
  </code></pre>
  <p>And the error is pointing me the this code</p>
  <pre><code>int? identified = _allBackEnds.getUser(IDENTIFIED);
  </code></pre>
  <p>IDENTIFIED is defined in a file called <code>strings.dart</code> like this</p>
  <p>const IDENTIFIED = &quot;identified&quot;;</p>
  <p>as well as other strings such as</p>
  <pre><code>const FIRST_NAME = &quot;firstName&quot;;
  const LAST_NAME = &quot;lastName&quot;;
  </code></pre>
  <p>I notice the problem causing the error is because IDENTIFIED is a string.</p>
  <p>What I don't understand is, in the same file where there is an error there are other variables like this</p>
  <pre><code>   String fName = _allBackEnds.getUser(FIRST_NAME);
     String lName = _allBackEnds.getUser(LAST_NAME);
  </code></pre>
  <p>And they all return data in a text widget</p>
  <pre><code>  Text(
      fName.capitalize()! + &quot; &quot; + lName.capitalize()!,
    ), 
  </code></pre>
  <p>So I don't understand how the string is been used to return data and why I am getting an error</p>
  <p>PS - This might sound confusing, and I hope you understand the question</p>