fastForward method
fast Forward (10 seconds)
Implementation
Future<void> fastForward() async {
final to = position.value.inSeconds + 10;
if (duration.value.inSeconds > to) {
await seekTo(Duration(seconds: to));
}
}
fast Forward (10 seconds)
Future<void> fastForward() async {
final to = position.value.inSeconds + 10;
if (duration.value.inSeconds > to) {
await seekTo(Duration(seconds: to));
}
}