DSI_DRAWER_GO_NAMED function

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

Implementation

DSI_DRAWER_GO_NAMED(context, page) {
  Navigator.pop(context);
  Navigator.pushNamed(context, page);
}