When non-null, wraps the list in a pull-to-refresh control.
final Future<void> Function()? onRefresh;