我正在尝试为文本字段内的提示文本添加对齐方式。但它不起作用。如何把它带到中心?? 如何以曲线形式书写文字???
Container(
child: new TextFormField(
controller: _pass,
textAlign: TextAlign.center,
decoration: new InputDecoration.collapsed(
hintText: " PASSWORD", ), )),
最佳答案
关于dart - 如何将提示文本对齐到文本字段的中心?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49731910/