Hello I could see the use of
var orientation = MediaQuery.of(context).orientation;
on OrientationLayoutBuilder
on my use case I could not see the widget build on orientation changes on IPAD simulator. How about we refactor to use the [OrientationBuilder] (https://api.flutter.dev/flutter/widgets/OrientationBuilder-class.html) widget
I guess this would rebuild every time app’s current Orientation changes for current screen.
Hello I could see the use of var orientation = MediaQuery.of(context).orientation; on OrientationLayoutBuilder on my use case I could not see the widget build on orientation changes on IPAD simulator. How about we refactor to use the [OrientationBuilder] (https://api.flutter.dev/flutter/widgets/OrientationBuilder-class.html) widget
I guess this would rebuild every time app’s current Orientation changes for current screen.
Here is the the code snippet in my case:
Suggested OrinetationLayoutBuilder: