title: Flutter Animated Switcher with List of Widgets
body: <p>I have a <code>CustomScrollView</code> with several children. One children should always be displayed but the other ones should be displayed depending on a condition:</p>
  <pre><code>CustomScrollView(
                          controller: articleState.scrollController,
                          slivers: [
                            ArticleDetailPageHeader(widget.articleShort), // &lt;- should always be displayed
                            ...condition
                                ? _buildShimmerWidgets() // returns List&lt;Widget&gt;
                                : _buildArticleWidgets(context, articleState), // ´´
                          ],
                        )
  </code></pre>
  <p>This is working. But I would like to use a <code>AnimatedSwitcher</code> so the UI looks a bit smoother.</p>
  <p>I look into <code>AnimatedSwitcher</code> and it takes a <code>child</code> of the type <code>Widget</code>. Now that is the Problem! I have a <code>List&lt;Widget</code>. Is there any workaround for this?</p>
  <p>I hope my problem is clear, let me know if you need any more info!</p>