pushNamed<T extends Object?> static method

Future<T?> pushNamed<T extends Object?>(
  1. dynamic routeName, {
  2. Object? arguments,
})

Implementation

static Future<T?> pushNamed<T extends Object?>(routeName, {Object? arguments}) {
  return Navigator.push(navigatorKey.currentContext!, instance._routeNamed(routeName, arguments: arguments));
}