navigationPush static method

Future navigationPush(
  1. BuildContext context,
  2. Widget screen
)

Implementation

static Future navigationPush(
  BuildContext context,
  Widget screen,
) async {
  // print('/${screen.toStringShort()}');
  return await Navigator.push(
      context,
      MaterialPageRoute(
          // settings: RouteSettings(name: '/${screen.toStringShort()}'),
          builder: (context) => screen));
}