simple<R, P> function Null safety

WidgetHandler<R, P> simple<R, P>(
  1. Widget builder(
      )
    )

    Implementation

    WidgetHandler<R, P> simple<R, P>(Widget builder()) {
      return (_, __) => builder();
    }