pushPage static method
Pushes a screen to the stack.
Implementation
static void pushPage(BuildContext context, BaseScreen page, {close = false}) {
if (close) Navigator.pop(context); //close SideMenu
screenNotifier.value = page;
}
Pushes a screen to the stack.
static void pushPage(BuildContext context, BaseScreen page, {close = false}) {
if (close) Navigator.pop(context); //close SideMenu
screenNotifier.value = page;
}