import 'package:audio_service/audio_service.dart'; import 'package:media_kit/media_kit.dart'; AudioServiceConfig get audioServiceConfig => const AudioServiceConfig( androidNotificationChannelId: 'nl.jknaapen.fladder.channel.playback', androidNotificationChannelName: 'Video playback', androidNotificationOngoing: true, androidStopForegroundOnPause: true, rewindInterval: Duration(seconds: 10), fastForwardInterval: Duration(seconds: 15), androidNotificationChannelDescription: "Playback", androidShowNotificationBadge: true, ); abstract class MediaControlBase { Future init() { throw UnimplementedError(); } Player setup() { throw UnimplementedError(); } Future seek(Duration position) { throw UnimplementedError(); } Future play() { throw UnimplementedError(); } Future fastForward() { throw UnimplementedError(); } Future rewind() { throw UnimplementedError(); } Future setSpeed(double speed) { throw UnimplementedError(); } Future pause() { throw UnimplementedError(); } Future stop() { throw UnimplementedError(); } void playOrPause() { throw UnimplementedError(); } Future setSubtitleTrack(SubtitleTrack subtitleTrack) { throw UnimplementedError(); } Future setAudioTrack(AudioTrack subtitleTrack) { throw UnimplementedError(); } }