Reputation: 409
Is it just me, but who else thinks that Flutters columns and rows are the wrong way around?
Surely rows should run from top to bottom and columns across.
Am I missing something?
Upvotes: 6
Views: 1201
Reputation: 10699
If you have ever used SQL, and have looked at its tables,(Or any other table) you can clearly observe that all the columns are arranged vertically while all the rows are arranged horizontally. The same principle is followed in flutter.
Upvotes: 0
Reputation: 6033
The terminology of the word row is horizontal. A column is always vertical. See https://en.m.wikipedia.org/wiki/Row_(database)
A widget that displays its children in a horizontal array.
A widget that displays its children in a vertical array.
Every direct widget under a row is horizontal while when you put it in a container or another widget every widget under that tree is getting the alignment from the next one above.
Upvotes: 2