WidgetFactory typedef Null safety

WidgetFactory = Widget Function()

Implementation

typedef WidgetFactory = Widget Function();