navigationPush static method
void
navigationPush(
Implementation
static void navigationPush(BuildContext context, Widget screen,
{VoidCallback? onComplete}) async {
return await Navigator.push(
context,
MaterialPageRoute(
settings: RouteSettings(name: '/${screen.toStringShort()}'),
builder: (context) => screen)).then((value) => onComplete);
}