title: How to use Expansion Tile with ListView inside Column in Flutter
body: <p>I am trying to create a custom drawer.</p>
  
  <p>I want to make <code>DrawerHeader</code> fixed. However, I want <code>ExpansionTile</code> and <code>ListView</code> scrollable.</p>
  
  <p><a href="https://imgur.com/a/lWeDWOO" rel="nofollow noreferrer">https://imgur.com/a/lWeDWOO</a> ,</p>
  
  <p><a href="https://imgur.com/a/tR68ECK" rel="nofollow noreferrer">https://imgur.com/a/tR68ECK</a></p>
  
  <pre><code> class _NavigationDrawerState extends State&lt;NavigationDrawer&gt; {
  
  
    @override
    Widget build(BuildContext context) {
      return Drawer(
        child: Column(
          children: &lt;Widget&gt;[
            DrawerHeader(
              child: Column(....),
            ExpansionTile(
              title: Text('Roles'),
              children: [
                ListView.builder(
                  itemBuilder: _buildRolesList,
                  itemCount: roles.length,
                  shrinkWrap: true,
                )
              ],
            ),
            ListView.builder(
              shrinkWrap: true,
              itemBuilder: _buildList,
              itemCount: myList.length,
            ),
          ],
        ),
      );
    }
  
    Widget _buildList(BuildContext context, int index) {
      return ListTile(
        leading: Icon(icons[myList[index].toLowerCase()]),
        title: Text(myList[index]),
      );
    }
  
    Widget _buildRolesList(BuildContext context, int index) {
      return ListTile(
        dense: true,
        title: Text(roles[index]),
        onTap: () {},
      );
    }
  
  
  }
  </code></pre>