title: How to hide drawer in flutter after changing Scaffold.body value
body: <p>I am using the method in this question to change the body of a Scaffold in flutter:</p>
  
  <p><a href="https://stackoverflow.com/questions/47953410/flutter-drawer-widget-change-scaffold-body-content.">Flutter Drawer Widget - change Scaffold.body content</a> </p>
  
  <p>The method described works perfectly. Now I would like just the drawer to automatically close after the users taps on one of the items.</p>
  
  <p>I tried using the Navigator.pop() method, but it pops the entire screen, not just the drawer. It leaves me with a totally black screen.</p>
  
  <p>Any suggestions?</p>