YPlayerProgressCallback typedef

YPlayerProgressCallback = void Function(Duration position, Duration duration)

Callback signature for when the player's progress changes.

Implementation

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