loading method

void loading({
  1. LoadingIndicatorStyle style = LoadingIndicatorStyle.auto,
})

Implementation

void loading({LoadingIndicatorStyle style = LoadingIndicatorStyle.auto}) {
  if (_loading == true) return;
  loadingIndicatorStyle = style;
  _loading = true;
  if (_initialised) notifyListeners();
}