A function that builds the widget tree based on the current state.
final Widget Function(S state)? builder;