title: How do wrap a Card around SliverList?
body: <p>I have a Sliver List and I want to encapsulate it in a card. This is my code for the Sliver List:</p>
  <pre><code>  Widget hello() {
      return SliverPadding(
        padding: const EdgeInsets.only(
          top: 0.0,
          bottom: 100.0,
        ),
        sliver: SliverList(
          delegate: SliverChildBuilderDelegate(
            (BuildContext context, int index) {
              return Padding(
                padding: const EdgeInsets.only(
                  top: 4,
                  bottom: 4,
                  left: 8,
                  right: 8,
                ),
                child: Column(
                  children: &lt;Widget&gt;[
                    Container(
                      color: Color(0xff9a9a9a),
                      height: 0.5,
                    ),
                    SizedBox(
                      height: 4,
                    ),
                    ListTile(
                      leading: ClipRRect(
                        borderRadius: BorderRadius.circular(12.0),
                        child: Container(
                          child: Image.network('http://cdn.akc.org/content/hero/cute_puppies_hero.jpg'),
                        ),
                      ),
                      title: Row(
                        children: &lt;Widget&gt;[
                          Text('Hello',
                          ),
                        ],
                      ),
                      subtitle: Text(
                        'This is a puppy',
                    ),
                    SizedBox(
                      height: 4,
                    ),
                  ],
                ),
              );
            },
            childCount: 8,
          ),
        ),
      );
    }
  </code></pre>
  <p>This is how I've called it :</p>
  <pre><code>  Widget build(BuildContext context) {
      return Scaffold(
   backgroundColor: Color.fromRGBO(247, 248, 251, 1),
        body: Container(
          child: Stack(
            children: &lt;Widget&gt;[
              CustomScrollView(
                  slivers: &lt;Widget&gt;[
                    hello(),
                   ..other widgets are called here..
                  ],
                ),  
            ],
          ),
        ),
      );
    } 
  </code></pre>
  <p>This is what I'm trying to achieve with my SliverList which I am want to display inside a card :
  <a href="https://i.stack.imgur.com/BjsSu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BjsSu.png" alt="enter image description here" /></a></p>
  <p>When I try to wrap the SliverList with a Card I get a RenderFlex error and it doesnt accecpt the Card as a child.</p>