build method

ReactElement build([
  1. ReactNode? children
])

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

Implementation

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

  return componentFactory!(props, children);
}