navigateRoute static method

Future navigateRoute(
  1. BuildContext context,
  2. String route
)

Implementation

static Future<dynamic> navigateRoute(
    BuildContext context, String route) async {
  return await Navigator.pushNamed(context, route);
}