setRefreshing method

void setRefreshing()

set the controller status to refreshing. Use this method when the widget is refreshing the data.

Implementation

void setRefreshing() {
  _status = const GammaControllerStatus.refreshing();
  notifyListeners();
}