feat: Enhance subtitle handling with dynamic menu height adjustment

This commit is contained in:
Kirill Boychenko 2025-07-28 02:13:00 +02:00
parent d60522b021
commit 1fdab92f1f
6 changed files with 47 additions and 20 deletions

View file

@ -19,8 +19,9 @@ abstract class BasePlayer {
BoxFit fit,
);
Widget? subtitles(
bool showOverlay,
);
bool showOverlay, {
double? menuHeight,
});
Future<void> dispose();
Future<void> open(String url, bool play);
Future<void> seek(Duration position);