When using onDismissed function, and the user drag the miniplayer a little bit to down (for dismiss) the player is reloading, it's not good because the user didn't finished the tap, only by a little drag to down it's rebuild the widget / restart the video.
In my case when i drag it down and immediately drag it up (for not dismiss), the video is reload to start instead of resume the playing...
I can see the point of the "bug" in the code, when drag down (value != 0) so the widget is rebuild with opacity and transform.
The opacity is really cool, and the transform is necessary but it destroys minimal user experience
It's great if you can fix that. i mean only when the user finished the tap, run the onDismissed function.
When using
onDismissed
function, and the user drag the miniplayer a little bit to down (for dismiss) the player is reloading, it's not good because the user didn't finished the tap, only by a little drag to down it's rebuild the widget / restart the video. In my case when i drag it down and immediately drag it up (for not dismiss), the video is reload to start instead of resume the playing...I can see the point of the "bug" in the code, when drag down (
value != 0
) so the widget is rebuild with opacity and transform.The opacity is really cool, and the transform is necessary but it destroys minimal user experience
It's great if you can fix that. i mean only when the user finished the tap, run the
onDismissed
function.