LoadingManager constructor
LoadingManager([
- dynamic onLoad,
- dynamic onProgress,
- 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;
}