onChange method

void onChange()

Implementation

void onChange() {
  if (listViewController.value.doReload) {
    _doReload(0);
  } else if (listViewController.value.doInvalidateList) {
    _invalidateCache();
    if (listViewController.value.reloadPage) _doReload(0);
  } else {
    setState(() {
      totalItemCount = listViewController.totalItemCount;
    });
  }
}