您可以直接使用 textAlign 属性。Text( "The quick brown fox jumps over the lazy dog", textAlign: TextAlign.center, style: TextStyle(fontSize: 20.0), )