OnLoadingProgress typedef

OnLoadingProgress = void Function(int progress)

A typedef representing a callback function for reporting loading progress.

The OnLoadingProgress function takes an integer parameter progress which represents the loading progress. The progress value should be between 0 and 100, where 0 indicates no progress and 100 indicates the loading is complete.

Implementation

typedef OnLoadingProgress = void Function(int progress);