I am a new Flutter learner. I am trying to write both mobile and web application using the same code base. I am wondering to know where should I use MediaQuery.of(context).size and where LayouBuilder( BoxConstraints constraints)?
Also like to know is it efficient to only one of them all through a big application or they are kind of complementary to each other?
EDIT: I like also know more about the behavior of these methods while
User zoom-in/zoom-out the screen
User changes the orientation of the screen on the mobile app, or the web browser size on the desktop computer
Which method is more suitable for these 2 situations?
