currentScrolledDuration property

ValueNotifier<int> get currentScrolledDuration

Listen to this value notifier when current time position of recorded audio is required.

Time position is with respect middle line. To get desired position, one must scroll to that time frame to middle line.

To use this shouldCalculateScrolledPosition must be enabled (available in AudioWaveform widget).

Get better idea when duration lables are enabled.

Returned duration is in milliseconds.

Implementation

ValueNotifier<int> get currentScrolledDuration => _currentScrolledDuration;