pushNamed method

Future pushNamed(
  1. NavigatorState navigatorState,
  2. String? url
)

Implementation

Future pushNamed(NavigatorState navigatorState, String? url) {
  if (_customPushNamed != null) {
    return _customPushNamed!(navigatorState, url);
  }
  return navigatorState.pushNamed(url!);
}