mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-14 17:55:58 -07:00
feat: Enhance subtitle handling with dynamic menu height adjustment
This commit is contained in:
parent
d60522b021
commit
1fdab92f1f
6 changed files with 47 additions and 20 deletions
|
|
@ -39,7 +39,8 @@ class MediaControlsWrapper extends BaseAudioHandler {
|
|||
Stream<PlayerState>? get stateStream => _player?.stateStream;
|
||||
PlayerState? get lastState => _player?.lastState;
|
||||
|
||||
Widget? subtitleWidget(bool showOverlay) => _player?.subtitles(showOverlay);
|
||||
Widget? subtitleWidget(bool showOverlay, {double? menuHeight}) =>
|
||||
_player?.subtitles(showOverlay, menuHeight: menuHeight);
|
||||
Widget? videoWidget(Key key, BoxFit fit) => _player?.videoWidget(key, fit);
|
||||
|
||||
final Ref ref;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue