You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I asked the same question on stackoverflow and after that found a solution. The problem is that miniplayer rebuilds its child widget when you start to dismiss it because of this line: (value == 0) return child!;
This causes an error when for example using video_player. Because at the time you start dismissing the miniplayer the video is playing however then miniplayer rebuilds its child and the video_player gets black (or starts playing over from the start).
If you just delete the line I mentioned above nothing will change and the error will disappear.
The text was updated successfully, but these errors were encountered:
Thank you @eiler21 for providing a solution. The current version of the package still presents the issue for me using just_audio package. Next, I copied the code for the package and made it local to my project. I removed the line if (value == 0) return child!; as you suggested to stop the widget from refreshing between max and min states, however my just_audio player refreshes the audio source between max/min state. Was that the only fix that worked for you or any ideas would be greatly appreciated?
I asked the same question on stackoverflow and after that found a solution. The problem is that miniplayer rebuilds its child widget when you start to dismiss it because of this line:
(value == 0) return child!;
This causes an error when for example using video_player. Because at the time you start dismissing the miniplayer the video is playing however then miniplayer rebuilds its child and the video_player gets black (or starts playing over from the start).
If you just delete the line I mentioned above nothing will change and the error will disappear.
The text was updated successfully, but these errors were encountered: