WidgetBuilder<S> typedef
WidgetBuilder<S> =
Widget Function(BuildContext context, S state)
Signature for the builder
function which takes the BuildContext
and
state
and is responsible for returning a widget which is to be rendered.
Implementation
typedef WidgetBuilder<S> = Widget Function(BuildContext context, S state);