Router childRouter(hostComponent)

Constructs a child router. You probably don't need to use this unless you're writing a reusable component.

Source

Router childRouter(dynamic hostComponent) {
  return this._childRouter = new ChildRouter(this, hostComponent);
}