title: Logout in bottom drawer navigation flutter
body: <p>I want to make logout and settings in bottom of drawer navigation but I have tried many suggestion but doesn't work at all
  any suggestion?</p>
  
  <p>This is my drawer navigation</p>
  
  <pre><code>Drawer(
        child: ListView(
          padding: EdgeInsets.zero,
          children: &lt;Widget&gt;[
            _createHeader(),
            _createDrawerItem(icon: Icons.event, text: 'Event', onTap: () =&gt; Navigator.pushReplacementNamed(context, Routes.event)
            ),
            Column(
              crossAxisAlignment: CrossAxisAlignment.center,
              mainAxisSize: MainAxisSize.max,
              mainAxisAlignment: MainAxisAlignment.end,
              children: &lt;Widget&gt;[
                _createFooterItem(icon: Icons.event, text: 'Settings', onTap: () =&gt; Navigator.pushReplacementNamed(context, Routes.event)),
                _createFooterItem(icon: Icons.event, text: 'Logout', onTap: () =&gt; Navigator.pushReplacementNamed(context, Routes.event))
              ],
            ),
          ],
        ),
      );
  </code></pre>
  
  <p>this is my widget for header</p>
  
  <pre><code>Widget _createHeader() {
      return DrawerHeader(
          margin: EdgeInsets.zero,
          padding: EdgeInsets.zero,
          decoration: BoxDecoration(
              image: DecorationImage(
                  fit: BoxFit.fill,
                  image: AssetImage('res/images/drawer_header_background.png'))),
          child: Stack(children: &lt;Widget&gt;[
            Positioned(
                bottom: 12.0,
                left: 16.0,
                child: Text("Flutter Step-by-Step",
                    style: TextStyle(
                        color: Colors.white,
                        fontSize: 20.0,
                        fontWeight: FontWeight.w500))),
          ]));
    }
  </code></pre>
  
  <p>and this is my widget for footer item</p>
  
  <pre><code>Widget _createFooterItem({IconData icon, String text, GestureTapCallback onTap}){
      return ListTile(
        title: Row(
          children: &lt;Widget&gt;[
            Icon(icon),
            Padding(
              padding: EdgeInsets.only(left: 8.0),
              child: Text(text),
            )
          ],
        ),
        onTap: onTap,
      );
    }
  </code></pre>