currentTimePosition property

double get currentTimePosition

Implementation

double get currentTimePosition {
  final totalDur = totalDuration;
  if (totalDur.inMilliseconds == 0) return 0;
  final progress = _currentGlobalTime.value.inMilliseconds / totalDur.inMilliseconds;
  return progress * 1000 * zoomLevel; // 1000 is base width from timeline_widgets.dart
}