setLoading method

void setLoading()

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

Implementation

void setLoading() {
  _status = const GammaControllerStatus.loading();
  notifyListeners();
}