pushPageValidate method
Implementation
void pushPageValidate(Route route) => replacement
? Navigator.pushReplacement(context, route)
: Navigator.push(context, route);
void pushPageValidate(Route route) => replacement
? Navigator.pushReplacement(context, route)
: Navigator.push(context, route);