clipStartTime method
Project offset at which clip index starts.
Implementation
Duration clipStartTime(int index) {
var offset = Duration.zero;
for (var i = 0; i < index && i < clips.length; i++) {
offset += clips[i].effectiveDuration;
}
return offset;
}