Did you know?
Since Flutter 3.27, you can pass a spacing
argument to your Row
and Column
widgets. ✅
This means you no longer need a SizedBox
to add fixed spacing between each child. 🚀
Combining spacing and flex
If you want, you can combine spacing and flex together:
This makes it easier to mix fixed and proportional spacing when laying out the children.
Happy coding!