How to close Scaffold's drawer after an item tap?
Navigator.pop() will pop the Drawer
route off the stack and cause it to close.
Navigator.of(context).pop()
should do what you want :)
https://docs.flutter.io/flutter/widgets/Navigator-class.html https://docs.flutter.io/flutter/material/Drawer-class.html
Shorthand for closing the drawer and navigating to a new route:
Navigator.popAndPushNamed(context, '/newroute');