title: Add dynamic list of Slivers returned by a function in CustomScrollView in flutter
body: <p>I am trying to add a dynamic list of Sliverlist in CustomScrollView but it doesn't seem to work. The method correctly returns the list of slivers, which I verified by debugging. Here is the sample code of what I am trying to achieve</p>
  
  <pre><code>CustomScrollView(
            key: PageStorageKey&lt;String&gt;(myKey),
            slivers: _getSlivers(model.data, context),
          ),
  </code></pre>
  
  <p>Here is the _getSlivers metod: </p>
  
  <pre><code>List&lt;Widget&gt; _getSlivers(List myList, BuildContext context) 
  {
    List&lt;Widget&gt; slivers = myList.map((key) =&gt; SliverList(
                delegate: SliverChildBuilderDelegate(
                  (BuildContext context, int index) {
                     buildRow(index)
                    }
                  },
                  childCount: myList.length,
                ),
              ),
        ).toList();
      return slivers;
     }
   }
  </code></pre>