Flutter对齐

Flutter对齐_第1张图片

 

child:new Row(
                    mainAxisAlignment: MainAxisAlignment.spaceBetween,//子组件在主轴的排列方式为两端对齐
                    children: [
                      new Text(
                        '央视网',
                      ), 
                       new Text(
                        '2018-03-11',
                      ), 
                    ],
                  )

你可能感兴趣的:(Flutter对齐)