Builder function to create the widget for each value.
final Widget Function(BuildContext, T) builder;