build method

ReactElement build([
  1. dynamic children
])

Returns a new component with this builder's props and the specified children.

Implementation

ReactElement build([dynamic children]) {
  assert(_validateChildren(children));
  _sharedAsserts();

  return componentFactory!(props, children);
}