transitioning property

bool get transitioning

Implementation

bool get transitioning => _transitioning;
set transitioning (bool b)

Implementation

set transitioning(bool b) {
  // don't update unless the value is new
  if (_transitioning == b) return;
  _transitioning = b;
  notify();

  // always bump back to false after a few seconds
  if (b) Timer(const Duration(seconds: 6), () => transitioning = false);
}