BuilderOnlyUiFactory<TProps extends UiProps> typedef

BuilderOnlyUiFactory<TProps extends UiProps> = TProps Function()

A utility variation on UiFactory, without a backingProps parameter.

I.e., a function that takes no parameters and returns a new TProps instance backed by a new, empty Map.

For use as a Function variable type when the backingProps argument is not required.

Implementation

typedef TProps BuilderOnlyUiFactory<TProps extends UiProps>();