handle viewinsets

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-24 23:55:20 +08:00
parent 12f7c88786
commit 3b16abf204
19 changed files with 88 additions and 75 deletions

View File

@@ -1756,11 +1756,9 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
child: BackwardSeekIndicator(
duration:
plPlayerController.fastForBackwardDuration,
onSubmitted: (Duration value) {
plPlayerController
..mountSeekBackwardButton.value = false
..onBackward(value);
},
onSubmitted: (value) => plPlayerController
..mountSeekBackwardButton.value = false
..onBackward(value),
),
),
),
@@ -1777,11 +1775,9 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
child: ForwardSeekIndicator(
duration:
plPlayerController.fastForBackwardDuration,
onSubmitted: (Duration value) {
plPlayerController
..mountSeekForwardButton.value = false
..onForward(value);
},
onSubmitted: (value) => plPlayerController
..mountSeekForwardButton.value = false
..onForward(value),
),
),
),