onRefresh property
Called when the user triggers a refresh.
The indicator calls the callback and expects the parent widget to rebuild
the indicator with refreshing set to true
.
See the DeclarativeRefreshIndicator for more information.
Implementation
final VoidCallback onRefresh;