readyToRefresh method

Future<void> readyToRefresh()
override

when indicator is ready into refresh,it will call back and waiting for this function finish,then callback onRefresh

Implementation

Future<void> readyToRefresh() {
  return Future.value();
}