timestamp property
String
timestamp
The timestamp in current
/ end
form.
If the user is moving the slider (when seekValue is non-null), the
current
time shows the position of the slider.
Implementation
String get timestamp {
final Duration currentPosition = seekValue == null
? video.position : doubleToDuration(seekValue!);
return "${currentPosition.timestamp} / ${video.duration.timestamp}";
}