title: How can I automatically add widgets to the body of my scaffold?
body: <p>I'm trying to have the body of my scaffold return list Tiles that are built automatically, much like posts on a social media app. However, it only returns and empty container, with only its background colour.</p>
  <pre><code>Widget _buildListingWidgets(List&lt;Widget&gt; listing) {
    return ListView.builder(
      itemBuilder: (BuildContext context, int index) =&gt; listing[index],
      itemCount: listing.length,
    );
  }
  </code></pre>
  <pre><code>@override
  Widget build(BuildContext context) {
    final listing = &lt;Listing&gt;[];
    for (var i = 0; i &lt; _listingNames.length; i++) {
      listing.add(Listing(
        describe: _describe[i],
        building: _building[i],
        location: _location[i],
        availability: _availability[i],
      ));
    }
    final listView = Container(
      color: Colors.black,
      padding: EdgeInsets.symmetric(horizontal: 8.0),
      child: _buildListingWidgets(listing),
    );
  
    ...
  </code></pre>
  <pre><code>return Scaffold(
    appBar: appBar,
    body: listView,
  
    ...
  );
  </code></pre>