79593872

Date: 2025-04-26 11:38:41
Score: 1.5
Natty:
Report link

Wrap is meant to work as a "line break" for you children, not as a table. Its purpose is to make sure your children will fit.

In your example, you have shown a screen wide enough to hold "some label" and "some value" in the same row. What happens if your screen is not wide enough? With the Row and Column approach, you will get an overflow. With Wrap, it will break the line and have "some label" in one line and "some value" in the other.

Edit: there is nothing wrong with using Row and Column, but you can also have a look at Table: https://api.flutter.dev/flutter/widgets/Table-class.html

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: underhill