I have this code:
Column(
children: [
Row(
children: [
SizedBox(
height: 20,
width: 20,
)
],
)
],
)
I get a warning in the DevTools that the SizedBox is unconstrained. How is that even possible? It has specified dimensions. Obviously Flutter is not behaving in a way that feels logical in this situation. However, I would like to understand why this is, and how my SizedBox should be constrained properly? What is best practise here? Also let’s say I have multiple SizeBox in the same Row/Column, what would be the best praxis then?