title: How to have a ListView.builder (big list) in CustomScrollView in Flutter?
body: <p>I'm trying to have a ListView builder with approximatively 500 items in a SliverList inside a CustomScrollView.</p>
  <pre><code>Scaffold(
      appBar: AppBar(
        title: Text(
          'Test',
          style: TextStyle(fontFamily: 'Diogenes', fontSize: 30),
        ),
        actions: [
          // IconButton(icon: Icon(Icons.list)),
        ],
      ),
      body: CustomScrollView(
        slivers: &lt;Widget&gt;[
          SliverAppBar(...),
          SliverToBoxAdapter(...),
          SliverList(
              delegate: SliverChildBuilderDelegate((context, index) =&gt;
                  getHistoricalFixtures(pythiePerformance)))
        ],
      ),
    );
  
  Widget getHistoricalFixtures(data) {
  return Padding(
    padding: EdgeInsets.fromLTRB(10, 0, 10, 10),
    child: Container(
      height: 2000,
      child: _buildFixtures(data),
    ),
  );
  </code></pre>
  <p>}</p>
  <pre><code>Widget _buildFixtures(data) {
  return new ListView.builder(
      itemCount: data.historicalFixtures.length,
      physics: NeverScrollableScrollPhysics(),
      itemBuilder: (context, index) {
        return Container(...)
      });
  </code></pre>
  <p>}</p>
  <p>It's working fine when the ListView is embedded within a Container with a fixed size. But, obviously, I can't see all items in the list.</p>
  <p>I tried to put the ListView inside an Expanded widget but got this error:
  <a href="https://i.stack.imgur.com/9tIHr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9tIHr.png" alt="" /></a></p>
  <p>Any help would be very appreciate.</p>
  <p>Thanks.</p>