title: How to handle loading and completion without using futurebuilder in flutter
body: <p>I cannot distinguish two different situations by the method in the example. How can I handle loading and completion situations?</p>
  
  <pre><code>//async method   
  
       void list() {
              databaseHelper.list().then((records) {
               setState(() {
                _recordList = records;
               });
              });
            }
  </code></pre>
  
  <hr>
  
  <pre><code>_recordList.length &gt; 0
   ? ListView.builder(
       itemCount: _recordList.length,
       itemBuilder: (context, index) {
       return {....}                          
     })
     : Center(
         child: Text("No Record"),
       ),
  </code></pre>
  
  <p>I want to show CircularProgressIndicator () until the list is loaded, but if the list is empty, I want to show "No Record".</p>
  
  <p>What is the way to do without using futurebuilder?</p>