currentTime property

int get currentTime

Implementation

int get currentTime => controller?.value.position.inSeconds ?? -1;
set currentTime (int value)

Implementation

set currentTime(int value) {
  controller?.seekTo(Duration(seconds: value));
}