Flutter MaxLength属性-更改默认颜色
我想将maxLength属性的默认颜色更改为与TextFormField相同的颜色。有人找到解决这个问题的办法吗Flutter MaxLength属性-更改默认颜色,flutter,properties,maxlength,Flutter,Properties,Maxlength,我想将maxLength属性的默认颜色更改为与TextFormField相同的颜色。有人找到解决这个问题的办法吗 谢谢大家! 下面的示例应该会有所帮助,只需将color属性更改为所需的属性即可: TextFormField(decoration: InputDecoration( counterStyle: TextStyle(color: Colors.black),) ...
谢谢大家! 下面的示例应该会有所帮助,只需将
color
属性更改为所需的属性即可:
TextFormField(decoration: InputDecoration(
counterStyle: TextStyle(color: Colors.black),)
...
...
)