A parent can only pass box constraints, not sizes. The size that a widget should take within the given constraints is decided by the widget itself. This article focus on explaining that rule.
Share this post
Understanding Flutter Constraints Rule 2 …
Share this post
A parent can only pass box constraints, not sizes. The size that a widget should take within the given constraints is decided by the widget itself. This article focus on explaining that rule.