Picture in Picture (Pip) always has padding around in Flutter (android)

150 views Asked by At

I use the below mentioned code snippet to display the Picture in Picture. I use this to display my video screen. This works fine but I see a padding (Green border) around my picture in picture view. I am launching this picture in picture code from my flutter application. Appricates for any clues to solve this issue.

Code:

    pipParams = PictureInPictureParams.Builder()
        .build()
    enterPictureInPictureMode(pipParams!!)

Problem reference screen: (Green border in the below screen)

enter image description here

Note: This behaviour is happening with Samsung s10 Edge device.

1

There are 1 answers

1
Krishna Kumar On

Kindly mention how did you use the pip feature and which video player package are you using ?