How to use the better player package in this package #4
Description
I have designed an application that has a video play button on the screen (Suppose the name of this page is A). When the user clicks on the button, we enter a page where player is located with push method of navigator class(Suppose the name of this page is B). I used the better player package to play the video. I want the player to be floating when we return from page B to page A.
I checked the code of this package I realized that the input of the presentBelow method is the page that is going to be under the current page. But this method creates this page once again. While I have to send page A to this method, I have already created page A in the stack and I do not want to create it again. What is the solution to this problem? Thank you for your help