RouterLink(Router _router, Location _location)

Source

RouterLink(this._router, this._location) {
  // we need to update the link whenever a route changes to account for aux routes
  this._router.subscribe((_) => this._updateLink());
}