DSI_DRAWER_GO function

dynamic DSI_DRAWER_GO(
  1. dynamic context,
  2. dynamic page
)

Implementation

DSI_DRAWER_GO(context, page) {
  Navigator.pop(context);
  Navigator.push(context, MaterialPageRoute(builder: (context) => page));
}