VoidCallback onPressed
read-only

Called when the user taps this drawer item.

If null, the drawer item is displayed as disabled.

To close the Drawer when an item is pressed, call Navigator.pop.