//让子控件,水平居中右对齐
Column (
crossAxisAlignment: CrossAxisAlignment.start
)
//让子控件,水平居中左对齐
Column (
crossAxisAlignment: CrossAxisAlignment.end
)
//让子控件,水平居中对齐
Column (
crossAxisAlignment: CrossAxisAlignment.center
)
//让子控件,水平占满父控件空间
Column (
crossAxisAlignment: CrossAxisAlignment.stretch
)
网友评论