LoadingManager constructor

LoadingManager([
  1. void onLoad()?,
  2. void onProgress(
    1. String,
    2. int,
    3. int
    )?,
  3. void onError(
    1. String
    )?
])

onLoad — (optional) this function will be called when all loaders are done.

onProgress — (optional) this function will be called when an item is complete.

onError — (optional) this function will be called a loader encounters errors.

Implementation

LoadingManager([this.onLoad, this.onProgress, this.onError]);