isLoading property

bool get isLoading

Whether the data is on its way. While true and the chart has nothing to draw, the empty state shows loadingText and its icon pulses. Data that arrives is drawn as usual, so this can stay true until then.

Implementation

bool get isLoading => _isLoading;
set isLoading (bool value)

Implementation

set isLoading(bool value) {
  _isLoading = value;
  invalidate();
}