RT: 请问如何让它跑到红框子的位置?
body: Center( child: Column( children: [ Text( '为什么我不是居中的?', style: TextStyle(color: Color(0xFFFFFFFF), fontSize: 18.0), ), ], )),
body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Text( '我居中了。', style: TextStyle(color: Color(0xFF000000), fontSize: 18.0), ), ], )),
2.1m questions
2.1m answers
60 comments
57.0k users