notifyScreen method

void notifyScreen([
  1. bool? ready
])

Implementation

void notifyScreen([bool? ready]) {
  ready ??= true;

  if (ready) {
    initialised = true;
    currentRouteInfo.reInit = false;
  }

  if (!ready) setMessage('');
  _ready = ready;

  if (currentRouteInfo.building) return;
  super.notifyListeners();
}