currentTime property Null safety

num currentTime

Get or set the current time (playback position) of the video.

Implementation

num get currentTime => videoElement.currentTime;
void currentTime=(num value)

Implementation

set currentTime(num value) {
  videoElement.currentTime = value;
}