-
Notifications
You must be signed in to change notification settings - Fork 28
Suggestions #11
Comments
I managed to add an option for fixed width and height. I'm working on another option for putting the floating widget anywhere. I will make a PR later. |
Hello @Eimji , i was using this package for pip view inside my application but the main problem that i was facing is that whenever the pip view is active , if we use the named routes that have already been declared in the onGenerateRoute callback of MaterialApp they simple throw an error. I was looking for the solution but didn't find any, a help would be very much appreciated . |
Hello @sagnik-sanyal I think error may be due to the PIPView which uses its own Navigator:
If you look at the source code, the trick is a Stack with 2 widgets: the first widget (the bottom widget) as a Navigator object and the second widget is the floating widget (the main widget which will be PiPed). |
Thanks for helping me out , if you are able to keep your route stack independent pls lemme know. The issue lies that the material navigator stack and the pip view navigator stack are conflicting. |
Hello,
Thanks for your plugin.
May I suggest some features to allow fixed width and height instead of keeping of the device screen ratio? And could you please allow to put the floating widget anywhere instead of only the corners?
Thanks again.
The text was updated successfully, but these errors were encountered: