title: Flutter: Auto Vertical Height in ListView.builder
body: <p>I'm trying to show some Cards with the ListView.builder<br />
  I want to set the heights of each card automatically to the height of its children content</p>
  <pre><code>class HomePage extends StatelessWidget {
   Widget _buildListItems(BuildContext context, DocumentSnapshot document) {
    return Center(
     child: Card(
      child: Column(
        children: &lt;Widget&gt;[
          ListTile(
            title: Text(document['title']),
            subtitle: Text(document['subtitle']),
          ),
          Expanded(
            child: Container(
              padding: EdgeInsets.all(20.0),
              child: Text(
                document['summary'],
                softWrap: true,
              ),
            ),
          )
        ],
      ),
    ),
  );
  }
  
  
  @override
  Widget build(BuildContext context) {
  return Scaffold(
    appBar: AppBar(
      title: Text('Title'),
      centerTitle: true,
    ),
    body: StreamBuilder(
      stream: Firestore.instance.collection('randomDB').snapshots(),
      builder: (context, snapshot) {
        if (!snapshot.hasData) return const Text('Loading...');
        return ListView.builder(
          itemExtent: 225.0,
          itemCount: snapshot.data.documents.length,
          itemBuilder: (context, index) =&gt;
              _buildListItems(context, snapshot.data.documents[index]),
        );
      },
    ),
  }
  </code></pre>
  <p>When document['summary'] is too long, it makes the text overflow through the card widget. For this time all I do is increase itemExtent in ListView.Builder</p>
  <p>Is there a way to set the heights of ListView dynamically?</p>