onRefresh property

Future<void> Function()? onRefresh
final

Optional pull-to-refresh callback. When provided, enables pull-to-refresh on the table. A centered loading indicator will appear while refreshing.

Implementation

final Future<void> Function()? onRefresh;