asForwardRefConfig method

UiFactoryConfig<TProps> asForwardRefConfig({
  1. String? displayName,
})

Generates the configuration necessary to construct a UiFactory while invoking uiForwardRef with a props class that has already been consumed.

See uiForwardRef for examples and context.

Implementation

UiFactoryConfig<TProps> asForwardRefConfig({String? displayName}) => UiFactoryConfig(propsFactory: PropsFactory.fromUiFactory(this), displayName: displayName);