ReactDartWrappedComponentFactoryProxy.forwardRef constructor

ReactDartWrappedComponentFactoryProxy.forwardRef(
  1. DartForwardRefFunctionComponent dartFunctionComponent, {
  2. String? displayName,
})

Implementation

ReactDartWrappedComponentFactoryProxy.forwardRef(DartForwardRefFunctionComponent dartFunctionComponent,
    {String? displayName})
    : type = _wrapForwardRefFunctionComponent(dartFunctionComponent,
          displayName: displayName ?? getJsFunctionName(dartFunctionComponent));