TOnProgress typedef

TOnProgress = void Function(Duration position, Duration duration)

Playback function type for FlutterSoundPlayer.startPlayer().

Note : this type must include a parameter with a reference to the FlutterSoundPlayer object involved.

Implementation

typedef TOnProgress = void Function(Duration position, Duration duration);