timmy
03/04/2021, 4:38 PMLocalAppWindow.current.height
jim
03/04/2021, 4:56 PMBoxWithConstraints
which gives you information about the amount of space available for a particular widget (which could be used near the root for whole page layout decisions or at the leaves for when widgets are a little more squished/comfortable). You can then use the constraint (size) information to make all sorts of decisions from which layouts to choose, to which widgets/data to render, to how much padding should be on an object. It gives you a lot of flexibility, allows you to think in a more modular way, and not depend on platform specific APIs.timmy
03/04/2021, 4:58 PMzoha131
03/04/2021, 5:08 PMtimmy
03/04/2021, 5:11 PM