build method

  1. @override
Component build(
  1. BuildContext context
)
override

Implementation

@override
Component build(BuildContext context) {
  var _anc = _findAncestorGatewayOrRoute(context);

  if (_anc is GatewayBinding) {
    return RouteBase(route,
        root: root, child: child, handleUnknownAsRoot: handleUnknownAsRoot);
  } else {
    return SubRoute(route,
        root: root, child: child, handleUnknownAsRoot: handleUnknownAsRoot);
  }
}