ReactDartFunctionComponentFactoryProxy constructor

ReactDartFunctionComponentFactoryProxy(
  1. DartFunctionComponent dartFunctionComponent, {
  2. String? displayName,
})

Implementation

ReactDartFunctionComponentFactoryProxy(DartFunctionComponent dartFunctionComponent, {String? displayName})
    : displayName = displayName ?? getJsFunctionName(dartFunctionComponent),
      reactFunction = _wrapFunctionComponent(dartFunctionComponent,
          displayName: displayName ?? getJsFunctionName(dartFunctionComponent));