title: Flutter Error: A value of type 'Future<bool>' can't be assigned to a variable of type 'bool' when get value form function Future<bool>
body: <p>I met problem when get value form function Future<br />
  I have a function below</p>
  <pre><code>Future&lt;bool&gt; checkstr(String str) async {
       bool result = await check(str);
       if (result == null) {
           return false;
       } else {
           return true;
       }
  }
  </code></pre>
  <p>when i get and check value met error</p>
  <pre><code>Expanded(
        child: model.isBusy
             ? CircularProgressIndicator()
             : ListView.builder(   
                    itemBuilder: (BuildContext context, int index) {
                    return ListTile(
                            model.checkstr(str)       //&lt;------ error this line
                            ? title: Text('true')
                            : title: Text('false'),
                      }),
            ),
  </code></pre>
  <p>error</p>
  <pre><code> Flutter Error: A value of type 'Future&lt;bool&gt;' can't be assigned to a variable of type 'bool'
  </code></pre>
  <p>please help me.</p>