runInitAsync method

  1. @override
bool runInitAsync()
inherited

Calls initAsync() all the time if returns true. Conditional calls initAsync() creating a Future with every rebuild

Implementation

@override
bool runInitAsync() {
  // Optionally call super for debugPrint()
  bool runInit = super.runInitAsync();
  // If any Controller says 'no', then there's no run.
  for (final con in controllerList) {
    runInit = con.runInitAsync();
    if (!runInit) {
      break;
    }
  }
  return runInit;
}