Function to be called when refresh happens. Useless if sliver
final Future<void> Function()? refresh;