didCallChangeEvent property

bool get didCallChangeEvent
inherited

The 'Change' event has already been called in a previous State object

Implementation

bool get didCallChangeEvent {
  bool change = false;
  final list = _stateXSet.toList(growable: false);
  for (final StateX state in list) {
    // You're at the current State object
    if (state == _stateX) {
      change = _didCallChange;
      _didCallChange = false;
      break;
    }
    if (!_didCallChange && state.controllerList.contains(this)) {
      _didCallChange = true;
      break;
    }
  }
  return change;
}