Prevent specific widget's rotation in Flutter

148 Views Asked by At

Is it possible to prevent a specific widget from rotating? I'm making an app that switches a portrait screen mode to a landscape screen mode when I turn my device. But The QR scanner package I use has an issue with the rotation. So, I would like to prevent only the QR scanner widget from rotating. Is it possible in flutter? hopefully, without external package

0

There are 0 best solutions below