refreshCompleted method

void refreshCompleted({
  1. bool resetFooterState = false,
})

request complete,the header will enter complete state,

resetFooterState : it will set the footer state from noData to idle

Implementation

void refreshCompleted({bool resetFooterState = false}) {
  headerMode?.value = RefreshStatus.completed;
  if (resetFooterState) {
    resetNoData();
  }
}