title: Show back button instead of drawer button - flutter
body: <p>I have a Flutter project which uses material design, that as I go through routes the appbar will show the backbutton. Recently, I just implemented a drawer in my project, and the drawer icon overrides the back icon. I essentially want to undo this, showing the back button, for certain screens, and show the menu button for other screens, almost like when I define the drawer having a <code>showIcon: false</code> property? I understand this <a href="https://stackoverflow.com/questions/54926597/flutter-drawer-button-shown-instead-of-back-button">post</a> is a similar question, but no code is shown for the question or the solution... My drawer looks like this: </p>
  
  <pre><code>return Scaffold(
    //appbar is here
    appBar: AppBar(
      title: Text("Title"),
    ),
    drawer: drawer,
    body: _buildBody(),
  );
  </code></pre>
  
  <p>And I define drawer here:</p>
  
  <pre><code>var drawer = Drawer(
    child: ListView(
      padding: EdgeInsets.zero,
      children: &lt;Widget&gt;[
        //My listTiles and UserAccountsDrawerHeader are removed for simplicity
      ],
    ),
  );
  </code></pre>
  
  <p>Thanks for any help.</p>