PreparedCallback typedef
PreparedCallback =
void Function(VideoViewController controller, VideoInfo videoInfo)
Callback that is called when the player finished loading the video
source and is prepared to start the playback. The controller
and videoInfo
is given as parameters when the function is called.
The videoInfo
parameter contains info related to the file loaded.
Implementation
typedef PreparedCallback = void Function(
VideoViewController controller, VideoInfo videoInfo);