我对crossAxisAlignmentmainAxisAlignment感到困惑。谁能用简单的话解释一下?

最佳答案

对于行:
mainAxisAlignment =水平轴crossAxisAlignment =垂直轴

flutter -  flutter crossAxisAlignment与mainAxisAlignment-LMLPHP

对于列:
mainAxisAlignment =垂直轴crossAxisAlignment =水平轴

flutter -  flutter crossAxisAlignment与mainAxisAlignment-LMLPHP

Image source

关于flutter - flutter crossAxisAlignment与mainAxisAlignment,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/53850149/

10-09 21:56