onRefresh property

(void Function()?) onRefresh
final

The refresh handler to perform retry logic. Note that this will only be used when onRetryForNothing or onRetryForError are null.

Implementation

final void Function()? onRefresh;