最佳答案
请看一下
TextFormField(
style:
TextStyle(fontSize: 26.0, color: Colors.black),
decoration: InputDecoration(
prefix: Icon(Icons.email, size: 20,),
border: OutlineInputBorder(),
labelText: "Email",
)
),
关于flutter - 如何在 flutter 中将标签文本与轮廓文本表单字段框中的前缀图标对齐?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68390132/