Lets say I have a complex widget build of a widget tree which takes up some space. Now, when the available space is smaller than this widgets size, it shall be replaced by a simpler version.
Everyone is talking about how to find the available space. But how do I know the required space? How do I know the size of a widget in advance? Are you all guessing this in your responsive designs?
1