LoadingManager constructor

LoadingManager([
  1. dynamic onLoad,
  2. dynamic onProgress,
  3. dynamic onError
])

Implementation

LoadingManager([onLoad, onProgress, onError]) {
  // Refer to #5689 for the reason why we don't set .onStart
  // in the constructor

  onStart = null;
  this.onLoad = onLoad;
  this.onProgress = onProgress;
  this.onError = onError;
}