首页 > 解决方案 > Flutter columns and rows

问题描述

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?

标签: flutterflutter-layout

解决方案


单词行的术语是水平的。列始终是垂直的。见https://en.m.wikipedia.org/wiki/Row_(database)

行类:

在水平数组中显示其子项的小部件。

列类:

在垂直数组中显示其子项的小部件。

一行下的每个直接小部件都是水平的,而当您将它放在容器或另一个小部件中时,该树下的每个小部件都会从上面的下一个小部件中获得对齐。


推荐阅读