I've tried to replicate android's stock camera rotation in flutter but to no success. Either the whole app rotates, or nothing rotates. I tried to also dig deeper into the native code, but couldn't find anything that keeps the app static, while the whole system rotates behind the scenes. The main thing I am looking for is to keep the Camera view static (landscape mode), and rotate the UI with the system depending on the device orientation.