title: How to draw expandable and collapsible sidebar menu in Flutter?
body: <p>Though I am new to Flutter but now on my way of cloning an expandable and collapsible sidebar menu of a website i saw on the internet.</p>
  
  <h2>My attempt</h2>
  
  <pre><code>import 'package:flutter/material.dart';
  
  void main() =&gt; runApp(MyApp());
  
  class MyApp extends StatelessWidget {
    final appTitle = 'Drawer Demo';
  
    @override
    Widget build(BuildContext context) {
      return MaterialApp(
        title: appTitle,
        home: MyHomePage(title: appTitle),
      );
    }
  }
  
  class MyHomePage extends StatelessWidget {
    final String title;
  
    MyHomePage({Key key, this.title}) : super(key: key);
  
    @override
    Widget build(BuildContext context) {
      return Scaffold(
        appBar: AppBar(title: Text(title)),
        body: Center(child: Text('Dashboard')),
        drawer: Drawer(
    child: ListView(
      children: &lt;Widget&gt;[
        Text('Dashboard'),
        ExpansionTile(
          title: Text("User management"),
          children: &lt;Widget&gt;[Text("Users"), 
          Text("Add user"),
          Text("Migrate users")
          ],
        ),
        ExpansionTile(
          title: Text("Remittance management"),
          children: &lt;Widget&gt;[Text("Add remittance"), 
          Text("Trace remittance"),
          Text("Remittance history"),
          Text("Search remittances"),
          Text("Online remittance requests")
          ],
        )
      ],
    ),
  ),
      );
    }
  }
  </code></pre>
  
  <h2>Code output</h2>
  
  <p><a href="https://i.stack.imgur.com/KLCGt.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KLCGt.jpg" alt="enter image description here"></a></p>
  
  <h2>Required output</h2>
  
  <p><a href="https://i.stack.imgur.com/8kXLJ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8kXLJ.jpg" alt="enter image description here"></a></p>
  
  <p>Dear members, any help ?</p>
  
  <p>Thanks in advance.</p>