This plugin was created to programmatically rotate on iOS and Android
After importing the package you can use
There is a method
which currently is not working, but it seems that this is a more general os issue.
We've used it for a VideoScaffold, to programmatically change to landscape and back to portrait if the scaffold is disposed.
Please have a look in the